← Google questions
CodingReported in a candidate post, Jul 2025

Split chocolate bar into k pieces maximizing the minimum sweetness

Filed under Google

A chocolate bar has n pieces with given sweetness values. Cut it into k contiguous parts, give k-1 of them away and keep the last one, so you receive the least sweet part. Return the maximum sweetness…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.