CodingEasy
Sliding Window or Brute Force Problem
Filed under Microsoft
The question
A coding problem that could be solved using either a brute force O(n^2) approach or an optimized sliding window technique. The constraints were small enough that the quadratic solution passed.
No write-up yet. Related questions below have one.
Related Microsoft questions
Collected from public candidate posts and coding forums. Updated Nov 2026.