Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Top K Users From Large Logs

Hard
Codingfrequency countpythonHeapAsked 1 times

Problem

Write a function to parse a large log file of user events and output the top K most active users without loading the entire file into memory for Reddit.

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
Reddit Data Engineer Interview Questions
Next questions
AndelaTop K Frequent Queries from LogsMediumDatadogTop K IPs in Real TimeMediumOracleTop K Error Codes From LogsMedium
0 / ~200 words