Reference: https://youtu.be/UY1lQa9G7RM

  1. Clearly communicate your thinking process
  2. Don't be silent and solve the problem
  3. Don't be afraid of asking for a hint but don't overdo asking for a hint
  4. Be honest, if you have seen a problem, it's better to tell them that you've seen it.
  5. Learn how to execute under stress.
  6. It's okay that syntax isn't clean but don't write a messy and unreadable code.

Basic Algorithm

DFS & BFS