Discs in a Well
Filed under Nutanix
The question
Given two arrays WELL and DISC, where each value in WELL is the maximum disc width that can pass through that depth layer, determine how many discs can fit into the well sequentially from top to bottom before it is blocked or full.
No write-up yet. Related questions below have one.
Related Nutanix questions
Collected from public candidate posts and coding forums. Updated Nov 2026.