Quick Overview

Compute the maximum simultaneous memory used by half-open process intervals and return the earliest positive-duration interval sustaining that peak. Handle shared timestamps, repeated peaks, adjacent peak segments, large totals, and empty input.

Find Peak Memory Usage Across Process Intervals

Company: Nutanix

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Technical Screen

Overview: Compute the maximum simultaneous memory used by half-open process intervals and return the earliest positive-duration interval sustaining that peak. Handle shared timestamps, repeated peaks, adjacent peak segments, large totals, and empty input.

Read the full Nutanix Software Engineer interview experience this question came from

Loading…