0 day streak
Anonymous · shared experience1 Oct 2025 · 9 views

LinkedIn: Top-K most and least frequent exceptions in a time window

Interview question #LinkedIn System design

Problem. A service throws exceptions. Design a system that tracks them and can report the top K most frequent and the top K least frequent exceptions within a sliding time window, for example everything between 8:30 and 8:34.

What the interviewer cared about. The candidate was expected to tie each design choice to non-functional requirements such as scale, latency and availability, and to explain the design in depth. They reached a working design but said they struggled to justify decisions against those requirements and to go deep enough, which contributed to a rejection.

Context. The rest of the loop had a phone screen mapping phone keypad digits to a dictionary of words (with an extension), a coding round with the longest run of a binary array containing at most K ones and the Kth closest value in a BST, and a round where an LRU cache was built in four steps using only an AI assistant, with no manual edits allowed. The managerial round probed the customer impact and scale of past projects.

0 comments

Comments 0

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