[CS Interview Tips]
CS interview is a process where two people discuss a vague problem where there's no set solution. It's more of a simulation of the process of trying to look for potential solutions to the problem.
1. Ask the right questions
Do not make an answer before clarifying things. One of the most important virtues that an engineer should have is asking the right questions. Example questions:
- What features should be implemented?
- How many users should be supported?
- What are the current technical stacks? What are the alternatives?
2. Design a simple prototype and discuss
Draw a diagram of the critical components. Verify that your first design meets the requirements.
3. Detailed design
Provide details regarding your design.
4. Wrap-up
Look for improvements and shortcomings in your design.