Facebook | Phone Screen | 3sum + Longest Possible Route in a Matrix with Hurdles

Anonymous User
334
Mar 09, 2022
Mar 09, 2022

1st - 3Sum with squares instead of plain numbers.
2nd - Longest Possible Route in a Matrix with Hurdles (did not found it in leetcode, but in gfg).

I got confused with the 3sum and that unfortunately set my mood for the rest of the interview. I was not able to see that the sencond question needed backtracking.

Comments (3)