Google
Google

Software Engineer

Minimize CPU Usage

Medium
Round 1 (TPS)CodingCandidate Selected

Given N tasks that each take S time, minimize the total time required to complete the tasks and return the minimum number of CPUs needed to finish in the shortest time possible.

This question was asked in

Google Software Engineer Interview Experience

The Google interview experience consisted of five rounds, focusing on a variety of technical and behavioral assessments. Candidates can expect to tackle CPU scheduling challenges and matrix manipulation problems in the first two rounds, followed by BFS and graph-related questions. The later rounds delve into behavioral assessments, including handling team dynamics and time management. Overall, the experience is technically rigorous and demanding, making candidates demonstrate strong problem-solving skills throughout the process.

AI Powered

Share Your Story

Share your interview in your own words — our AI handles the rest. Hardly takes 2 minutes.

Take Mock Interview

Prepare better with expert feedback

Want to Connect 1:1?

Connect with me 1:1 for career guidance, resume reviews, interviews, and more.

Show Your Love!

Connect with us on social media

Minimize CPU Usage | Google Interview Question | InterviewRecap | InterviewRecap