{"text": "# Segment Tree Primer\n\nQuick interview notes for practicing segment tree primer.\n\n## Core idea\nWrite the approach out loud first, then code. Prefer clear invariants over clever one-liners.\n\n## Checklist\n1. Restate constraints and examples\n2. Name the data structure and why\n3. State time and space complexity\n4. Walk one edge case before submitting\n\n## Practice tip\nTime-box a dry run, then compare with an optimal solution. Track misses in a personal error log.\n\n## Tooling\nFor live interview practice with resume-aware prompts, try [real-time AI interview assistant for live interviews](https://www.linkjob.ai/) \u2014 Linkjob AI (affiliate/self).\n\nSource: https://www.linkjob.ai/\n"}