Coding Interview Template 1. Ask questions 2. Brute force first 3. Optimized solution 4. complexity and trade-offs 5. Agree on writing code...
Coding Interview Template
1. Ask questions
2. Brute force first
3. Optimized solution
4. complexity and trade-offs
5. Agree on writing code?
6. Dry run
7. Edge cases
My takeaways from 40+ coding interviews
- Speed is matter so manage your time wisely
- Clean medium efficient working code >> optimized buggy code
- Think out loud
- Make sure to talk all the time (Drive the conversation)
- Test but if your code is buggy testing does not add any value
- If interviewer give you suggestion, take it seriously
- Minor syntax error is not a problem
- Focus on medium Qs
- Talking out loud while coding
System Design Interview Template
1. Clarify the requirements
2. Follow top down approach
3. Discuss trade-offs
4. Drive the conversation
5. Go deep at least 1 section
6. Completeness is matter
7. Quality thinking
8. Use whiteboard
Machine Learning Interview Template
1. Define Objectives/goal
2. Data Preparation
3. Feature engineering
4. Modeling: what model and why
5. Evaluation: online and offline
6. Distributed training, log, profiling, Alert
7. Discuss scaling, should be scalable
8. A/B testing
9. What can you do to make it more efficient?
COMMENTS