Roy and Coin Boxes
Practice
4.5 (39 votes)
Approved
Bit manipulation
Data structures
Dynamic programming
Medium
Open
Segment trees
Code Editor

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading...
Results
Custom Input
Run your code to see the output
Submissions
Please login to view your submissions
Similar Problems
Points:30
183 votes
Tags:
AlgorithmsApprovedDynamic ProgrammingMediumOpen
Points:30
6 votes
Tags:
Introduction to Dynamic Programming 1AlgorithmsDynamic ProgrammingBinary Search
Points:30
49 votes
Tags:
AlgorithmsDynamic ProgrammingSegment Trees
Editorial

Login to unlock the editorial