Nutanix OnCampus OA 2026 | Interval Overlaps & Dynamic Programming | Feb 26th Campus Assessment | HackerRank Coding Assessment | Complete Solutions & Tips

Question · Posted Mar 2026

Question 1: Surgery Scheduling (Minimum Operation Theaters) Problem Statement: A hospital schedules multiple surgeries throughout the day. Each surgery is represented by a time interval: [start_time, end_time]. start_time - when the surgery begins end_time - when the surgery finishes start_time < end_time An operation theater can handle only one surgery at a time. Two surgeries are not considered overlapping if one ends at the same time another begins. For example: [2, 5] and [5, 8] can use the same operation ...

The full answer & interview discussion are available to premium members.

Log in Create a free account