Uber | Phone Screen | Combination Sum | Sr. SE
Anonymous User
971

Interviewer was clear with interview structure, aim was to solve maximum number of question in <1 hr ( 50 min or so, last 10 min for QA).

Tip :

  1. Solution doesn't need to be optimized (interviewer will tell you if that's the case though), but try to solve it as fast as you possibly can.
  2. Practice Backtracking, dp and Trie(String) based questions.
  3. Practice Lettcode Hard, as most of the questions have 2 parts to solve, if you are able to realize that you can do it, right and quickly.

I was asked https://leetcode.com/problems/combination-sum/ (Spent all of my time on only single question)
I was completely lost in backtracking, I came up with something at last but it failed in 1 corner-case.

Interviewer was very friendly and helped when I asked for the help, but I think I crumbled under pressure, although I've solved this before like 5-6 months ago, I couldn't even write it properly.

I think I did 3 things right,

  1. Asked clarifying questions.
  2. Asked for help when I was lost in backtracking to send logic in right direction
  3. Wrote simple example and then added edge cases to it.

I think I didn't do few things correctly

  1. Wasted lot of time in finding a clue in question that leads me to logic, instead of asking for help.
  2. Wrote unnecessary comments that I shouldn't have.
  3. Bit distracted due to surronding noise and my laptop keyboard was unresponsive in between for like for a min or less.
  4. Just solved 1 question.

Probably will be a reject.

Comments (6)