I was asked to solve a tricky range query problem involving intervals and indices. My brute-force approach worked but lacked efficiency...
Share your own interview experience and help others in the community prepare for their next opportunity.