← Amazon questions

Query daily candy consumption based on priority

Filed under Amazon

Given two arrays containing candy counts and priorities, determine if a specific type of candy can be consumed on a given day under constraints where lower priority candies cannot be eaten before…

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 Amazon questions

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