Want to solve this problem? Login now to get access to solve the problems

Problem

Submissions

Solution

Leaderboard

Coming soon

0

Difficulty: HARD

Avg. time to solve

55 min

Success Rate

35%

Problem Statement

Suggest Edit

```
Line 1: Size of input array`
Line 2: Array elements (separated by space)`
```

```
1 <= N <= 10^6
-99 <= A[i] <= 99
```

```
6
1 2 5 -7 2 3
```

```
1 2 5
```

Want to solve this problem? Login now to get access to solve the problems