Triplets - 1
easy
1. You are given an array(arr) of N numbers. 2. You have to select three indices i,j,k following this condition -> 0
Constraints
1 <= N <= 1000 0 <= arr[i] <= 10^9
Format
Input
A number N arr1 arr2.. n numbers
Output
Check the sample ouput and question video.
Example
Sample Input
3
1 2 3
Sample Output
2
Question Video