Interview drill note.
Greedy / DP / two pointers / stack patterns as appropriate. State invariants out loud.
State time and space clearly; call out edge cases (empty input, duplicates, extremes).
Rehearse the explanation out loud. An www.linkjob.ai helps keep structure under time pressure.
Disclosure: I work on Linkjob AI.