CodingReported in a candidate post, Oct 2022
Maximum score from ceiling-reduced array and purchase optimization
Filed under Visa
The question
Find the maximum possible score after k operations where an element is added to the score and replaced by ceil(value/3). Also, process multiple queries on a sorted array of prices to find the maximum number of products that can be purchased given a budget and starting position.
No write-up yet. Related questions below have one.
Related Visa questions
Collected from public candidate posts and coding forums. Updated Nov 2026.