AdobeCodingMembers
Candy Halving: Minimum Total Weight After k Days
Members only
A short coding problem from the Adobe MLE phone screen: a list of candy weights shrinks one candy per day, and you report the smallest possible total after a given number of days. The code has to actually run against a hidden test suite, and the interviewer saves time for a follow-up about very large inputs that trips up many candidates.
MLE
heap
greedy
array
easy
Frequency
Single report
Last asked
2025-11-10
Stage
phone-screen
Members get
- Full problem statement
- Known variants to clarify
- 3 progressive hints
- Step-by-step approach
- Full solution with code
- 4 common pitfalls
- 5 talking points
- 6 follow-up questions with answer directions
- Preparation drills
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
