CHOOSE NUMBERS!
Open
Hacktoberfest
Moderate
- Dominant language
- Java
- Stars
- 101
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
You are given an array of integers A.
You need to tell whether you can choose three numbers such that a+b>=c.
Input Format
First line consists of number of integers N. next line consists of N space separated integers.
Constraints
1 <= N <= 10^5
Output Format
YES or NO
Sample Input
5
1 2 3 4 9
Sample Output
YES
Explanation
you can choose 1+3 >= 4
Solve the question and raise the Pull Requests.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.