what to do during a live coding phone interview if you dont know how to solve the question?
Jul 23, 2019
20 Comments
im still trying to get good at leetcode and have a live coding phone interview coming up not 100% prepared.
ill know within 6 seconds if i can solve the question or not.
what should i say if i know forsure i cant solve the question ? should i just be honest and say i have no idea how to solve this question?
comments
Ask clarifying questions if youโre stuck and speak out loud so the interviewer can guide you in the right direction
"next question"
One of the ways I recommend that college students prepare is:
1. Walk through BFS on a Binary tree first by hand. Work out what the queue looks like if youโre using an iterative approach or the stack looks like with a recursive approach
2. Then write the code. Write the code again and again!
3. Make sure you really understand tree traversals. Work out examples by hand
4. Write the code.
5. Then start with graphs, again with BFS first
6 then do DFS with graphs
Draw the graphs, write down the adjacency list or matrix by hand
Walk through examples.
If you spend a couple days on this youโll definitely be in a better position