Programmer Trainee Interview Questions

712,284 programmer trainee interview questions shared by candidates

You have 1000 computers. Each computer contains a text file containing 1 billion floating point numbers. Design an algorithm or algorithms for extracting the top 1000 numbers from the entire list. Describe in detail how long it would take to process and why.
avatar

Software Engineer - Web Team

Interviewed at Spotify

4
Sep 24, 2011

You have 1000 computers. Each computer contains a text file containing 1 billion floating point numbers. Design an algorithm or algorithms for extracting the top 1000 numbers from the entire list. Describe in detail how long it would take to process and why.

Viewing 461 - 470 interview questions

Glassdoor has 712,284 interview questions and reports from Programmer trainee interviews. Prepare for your interview. Get hired. Love your job.