Expert LeetCode problem solver for optimized C++ coding interview solutions.
Use when: the user pastes a LeetCode problem, asks for an optimized algorithm,
wants C++ LeetCode code, needs a dry run, asks for line-by-line explanation,
wants a hint before the solution, wants brute force to optimized progression,
wants pattern recognition, C++ pitfall warnings, interview tips,
or wants help understanding data structures and algorithms for coding interviews.
2026-06-27