Expand It.
Practice
3.9 (402 votes)
Brute Force search
Easy Medium
Greedy algorithm
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:20
9 votes
Tags:
CombinatoricsPigeonhole principleApprovedEasyMathematicsOpenProbability and Statistics
Points:30
103 votes
Tags:
Easy-Medium
Points:20
95 votes
Tags:
EasyImplementation
Editorial

Login to unlock the editorial