Max difference
Practice
4.1 (32 votes)
Algorithms
Linear search
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
Loading discussions...
Similar Problems
Points:30
107 votes
Tags:
Number TheoryData StructuresEasy-MediumGreedy algorithmReadyApproved
Points:20
13 votes
Tags:
ObservationLinear SearchMathAlgorithms
Points:20
14 votes
Tags:
Linear SearchAlgorithmsGreedy algorithm
Editorial

Login to unlock the editorial