How to solve a problem during the coding interview?

According to me, following are the top 8 things to keep in mind while solving a problem during the coding interview-

  1. Understand the problem clearly
  2. Ask for constraints
  3. Don’t sit quietly for long
  4. Improvise
  5. Think about all possible corner cases
  6. Make yourself comfortable with time and space complexity
  7. Ask for help if needed
  8. Never give up

Checkout the explanation of each point in my second YouTube video of Interview preparation series.

Video Link - - YouTube
Interview preparation series - null - YouTube

3 Likes