What are the five steps you should follow when solving a technical question?
What are the five steps you should follow when solving a technical question?
1. Ask your interviewer questions to resolve ambiguity
2. Design an algorithm.
3. Write pseudocode first, but make sure to tell your interviewer that you'll eventually write "real" code.
4. Write your code at a moderate pace.
5. Test your code and carefully fix any mistakes.