Back
Close

Max & Min

Statement

 Goal

This is a reverse mode read the input and output to get the solution
Input
12345
Output
1
5
Constraints
length of string <= 1000
Example
Input
12345
Output
1
5

Game modes
Reverse

Test cases
Example Test
Input
12345
Output
1 5

Validator 1 Validator
Input
4545
Output
4 5

Only 2 numbers Test
Input
141414
Output
1 4

Validator 2 Validator
Input
10679
Output
0 9

A single number Test
Input
7
Output
7 7

Validator 3 Validator
Input
444444
Output
4 4

All numbers Test
Input
987654321
Output
1 9

Validator 4 Validator
Input
01010
Output
0 1

Solution language

Solution

Stub generator input