← Questions

Evenings needed to read a book's chapters in order

0
GoogleCodingLast asked Oct 2026

A coding interview question asked in Google's HackerRank assessment, last asked Oct 2026. It tests arrays, greedy and simulation.

A book's chapters must be read in order, and chapters[i] is how long chapter i takes. Each evening j you have evenings[j] minutes.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Google · HackerRank assessment · Last asked Oct 202690 min · Two problems on HackerRank · Some early-career assessments enable the built-in assistant; others forbid AI. The invitation says which.

What it tests

arrays · greedy · simulation

Your code and the AI tutor open when you unlock this question.