Interview Tips
Coding Interview Tips — How to Solve LeetCode Problems by Pattern
Based on problem constraints, use these heuristics to identify possible approaches when unsure.
Arrays & Strings
Subarrays & Sequences
Trees & Graphs
Linked Lists & Stacks
Sorting & Intervals
Optimization
General
The "Thinking Out Loud" Framework: How to Communicate Under Pressure
In tier-1 tech interviews (FAANG / Big Tech), interviewers are not evaluating whether you have memorized code syntax; they are assessing what it is like to collaborate with you as a software engineer on a production team. Candidates who remain silent for 15 minutes and produce code receive lower signals than candidates who vocalize trade-offs.
Pacing the 45-Minute Interview
- 00–05m: Requirements clarification & constraint confirmation
- 05–15m: High-level design, naive approach & trade-off discussion
- 15–30m: Clean modular implementation
- 30–40m: Manual dry run with non-trivial test case & edge checks
- 40–45m: Time/space analysis & your questions for interviewer
What to Say When You Are Stuck
Never freeze or apologize. Instead, externalize your mental model: "I'm considering whether a monotonic stack or a two-pointer approach fits this condition better. The challenge is preserving the original indices while maintaining order. Let me write out a 4-element trace on the whiteboard to see the invariant."
Jump to section