Implement a Range Module with Add, Query, and Remove
Company: Walmart Labs
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: hard
Interview Round: Technical Screen
Overview: Implement a range tracker that adds, removes, and queries half-open integer intervals while preserving coverage across overlaps and adjacent endpoints. Explore interval invariants, splitting and merging updates, ordered search, deterministic query results, and boundary-focused tests.
Read the full Walmart Labs Software Engineer interview experience this question came from