Deduplicate a 256 GB File on a Machine With 128 MB of Memory

Quick Overview

Remove duplicate records from a single 256 GB file on a machine with only 128 MB of memory. Tests external-memory techniques such as hash partitioning and external merge sort, skew handling, I/O cost, open-file limits, and preserving the original order.

Deduplicate a 256 GB File on a Machine With 128 MB of Memory

Company: Waymo

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Onsite

Overview: Remove duplicate records from a single 256 GB file on a machine with only 128 MB of memory. Tests external-memory techniques such as hash partitioning and external merge sort, skew handling, I/O cost, open-file limits, and preserving the original order.

Waymo logo
Waymo
Sep 10, 2026
mediumSoftware EngineerOnsiteSoftware Engineering Fundamentals
4
0
Loading...