0 day streak
Anonymous · shared experience20 Jun 2026 · 10 views

Myntra: Check whether overlapping jobs ever exceed a cluster's RAM capacity

Interview question #Myntra DSA / coding

Problem. A server cluster has a fixed total RAM capacity. You get a list of jobs, each with its RAM usage, start time and end time. Decide whether combined RAM usage ever goes above capacity at any moment.

Context. This was asked in the second technical interview for a six-month SDE internship, after a graph question: the minimum number of one-way routes to reverse so every warehouse can reach warehouse 0. The first technical round had minimum swaps to bring all elements at most K together, and the smallest number made only of 0s and 1s that is divisible by n.

Expected ideas. The candidate described it as a sweep-line problem that can be solved with a difference array and prefix sums over time.

What mattered. Interviewers were friendly and discussion-driven, and focused on optimization and clear reasoning. The post doesn't give constraints.

0 comments

Comments 0

No comments yet. Ask the author something, or add what happened in your own round.