NewProject Coding is here — build features and fix bugs in real codebases with an AI assistantSee what's new
avatar
arjunpatel1997Aug 3, 2026

eBay phone screen, got the Top K recommendation question

Interview Experiences
ebay

eBay phone screen, got the Top K recommendation question

Had my eBay phone screen, figured I'd jot down the details since this one seems pretty common.

Got the classic co-occurrence recommendation problem, given user sessions with a target product, count which other products show up next to it most and return the top K. Frequency map plus bucket sort gets you there in linear time, ngl felt pretty doable once I saw the pattern. Interviewer followed up right after with the scaling question, how this holds up with millions of users.

No word back yet.

22463.6k

Replies (4)

avatar
liamdavis0527Aug 4, 2026

no update either from mine a while back, seems like a slow process there

129
avatar
User-6zeb6Aug 4, 2026

same here, ebay seems to just go quiet a lot after phone screens

15
avatar
priyashahAug 4, 2026

good luck, hope you hear back soon

82
avatar
maya.chenAug 3, 2026

the scaling follow up always comes right after that one for me too, worth having a rough answer ready

75
avatar
noah99Aug 3, 2026

yeah same, felt like the coding was just the warmup for the real question honestly

87
avatar
gracewang94Aug 3, 2026

bucket sort is definitely the way to go for that one, keeps it linear

24
No more replies