Prashant Mahesh's submission of Connecting Islands | CodeChef