Facebook | Phone | Word break II & Combination Sum
Anonymous User
5956

Given a string without spaces. Insert spaces in it based on a given ditionary..
https://leetcode.com/problems/word-break-ii/ - did this in 20 mins

Given an array, check whether there are any contiguous or non-contiguous sub-arrays whose sum is equal to target.
https://leetcode.com/problems/combination-sum-ii/ (return true instead returning a list) - "bombed"

even though i know combination sum problem, I completely failed to think in that direction during the time of interview..my bad

Reject the next day..

Learnt some lessons with this interview..keep coding guys..don't give up

Comments (25)