Merge Sorted Arrays, Then Scale to Huge Files and a Global Sort of N Files

Quick Overview

Merge two sorted integer arrays, then scale the same task to two sorted files that exceed memory and to N large files that must be globally sorted and stored. The question tests streaming I/O with bounded memory, multi-way merging, external merge sort costs, distributed range partitioning, skew handling, and a storage layout readers can query.

Merge Sorted Arrays, Then Scale to Huge Files and a Global Sort of N Files

Company: NVIDIA

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Onsite

Overview: Merge two sorted integer arrays, then scale the same task to two sorted files that exceed memory and to N large files that must be globally sorted and stored. The question tests streaming I/O with bounded memory, multi-way merging, external merge sort costs, distributed range partitioning, skew handling, and a storage layout readers can query.

NVIDIA logo
NVIDIA
Sep 15, 2026
mediumSoftware EngineerOnsiteSoftware Engineering Fundamentals
5
0
Loading...