One thing to keep in mind is you have just 40 minutes or less to solve one or two problems. Discuss your solution verbally with the interviewer without coding first, then once you get some affirmation from your interviewer, do your best to code it up cleanly with no bugs. You won't be able to run the code so test it manually and give time and space complexity.
One thing to keep in mind is you have just 40 minutes or less to solve one or two problems. Discuss your solution verbally with the interviewer without coding first, then once you get some affirmation from your interviewer, do your best to code it up cleanly with no bugs. You won't be able to run the code so test it manually and give time and space complexity.