Deloitte OA | Happiness Index: Distinct City Widths and Constraints
Question · Posted Apr 2026
Problem Statement: Happiness Index You live in a country that wants to be included in the list of the world's best countries based on its Happiness Index. To qualify for this list, your country must satisfy specific urban planning rules regarding the placement and dimensions of its cities. Assume your country has K cities arranged in a series. Each city i is defined by a pair of coordinates (Xi,Yi), representing its starting and ending points on a linear axis. Rules ...
The full answer & interview discussion are available to premium members.
Log in Create a free account