akshitagit / JAVA

Repository for Java codes and algos.Star the repo too.
https://github.com/akshitagupta15june
MIT License
90 stars 127 forks source link

CHOOSE NUMBERS! #5

Open akshitagupta15june opened 4 years ago

akshitagupta15june commented 4 years ago

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.

keivalya commented 4 years ago

Hey, can I contribute in Python3?

akshitagupta15june commented 4 years ago

You can see Python repo also have same issue raised.

akshitagupta15june commented 4 years ago

@keivalya add in datastructures folder of Python

keivalya commented 4 years ago

Okay, I'll see to it. Thanks!!

keivalya commented 4 years ago

@akshitagupta15june can I add some more riddles in issues, similar to this one?

akshitagupta15june commented 4 years ago

@keivalya Ofcourse

rusyasoft commented 4 years ago

Here is my PR https://github.com/akshitagit/JAVA/pull/18

charchitmangal commented 4 years ago

I would Like to Work on this during Hacktoberfest.