STAR is a simple framework for telling a work story so the interviewer remembers the outcome, not just the activity. It has four parts:
For PMs, the bar is higher. Interviewers are looking for how you make decisions, how you choose what matters most, and how you get people aligned even when they don't report to you. A strong STAR answer shows all of that on its own, without you having to claim it.
You don't need a textbook. You need these in your head:
Rule of thumb: a nested loop is a hint to look for a hash map or two pointers. A "find the best contiguous range" is a hint for a sliding window.
Interviewers grade how you think, not just the final answer. Keep these lines handy: