According to me, following are the top 8 things to keep in mind while solving a problem during the coding interview-
- Understand the problem clearly
- Ask for constraints
- Don’t sit quietly for long
- Improvise
- Think about all possible corner cases
- Make yourself comfortable with time and space complexity
- Ask for help if needed
- 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