I was asked 2 questions to be done in one hour :
-
https://leetcode.com/problems/number-of-islands/
Was able to solve this one -
https://leetcode.com/problems/house-robber-ii/description/
Was able to come up with partial dp solution before time got over.
Got rejected as they expected second working solution also.
Comments (2)


