Problems
Contests
Account
Problems
> Largest Digit > Editorial
Largest Digit — Solution & Editorial
Back to the Problem
Scan the digits and keep the maximum.
Complexity:
O(number of digits)
×
Refer Job