โ† Meesho questions
CodingReported in a candidate post, Aug 2025

Track room capacities under move and split queries

Filed under Meesho

The question

Given an array of room capacities and a series of queries, start at the first room. One query type moves the position right by X, another moves it left by Y, and a third removes the room just after the current one and inserts two new rooms with capacities A and B in its place. Return the final array after all operations (n and q up to 1e5).

No write-up yet. Related questions below have one.

Related Meesho questions

Collected from public candidate posts and coding forums. Updated Nov 2026.