Solve sampling and streaming tasks
Company: Meta
Role: Machine Learning Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Onsite
Quick Answer: This question evaluates algorithmic problem-solving, data structure design, probabilistic reasoning for weighted random selection, sliding-window string processing for anagram detection, and streaming/online statistical computation.