Find the Most Frequent IP Addresses in a File Too Large for Memory

Read the full interview experience this question came from →

Quick Overview

Design an exact, bounded-memory method for finding the most frequent IP addresses in a file far larger than RAM. Analyze memory and disk-I/O trade-offs while defining address normalization, malformed-record handling, deterministic ties, skew behavior, temporary-storage limits, and cleanup.

Find the Most Frequent IP Addresses in a File Too Large for Memory

Company: Google

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Onsite

Overview: Design an exact, bounded-memory method for finding the most frequent IP addresses in a file far larger than RAM. Analyze memory and disk-I/O trade-offs while defining address normalization, malformed-record handling, deterministic ties, skew behavior, temporary-storage limits, and cleanup.

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

|Home/Software Engineering Fundamentals/Google
Google logo
Google
Jun 17, 2026
mediumSoftware EngineerOnsiteSoftware Engineering Fundamentals
8
0
Loading...
Loading comments...