JAVA icon indicating copy to clipboard operation
JAVA copied to clipboard

CHOOSE NUMBERS!

Open akshitagupta15june opened this issue 4 years ago • 8 comments

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.

akshitagupta15june avatar Sep 23 '20 05:09 akshitagupta15june

Hey, can I contribute in Python3?

keivalya avatar Sep 23 '20 08:09 keivalya

You can see Python repo also have same issue raised.

akshitagupta15june avatar Sep 23 '20 09:09 akshitagupta15june

@keivalya add in datastructures folder of Python

akshitagupta15june avatar Sep 23 '20 09:09 akshitagupta15june

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

keivalya avatar Sep 23 '20 09:09 keivalya

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

keivalya avatar Sep 23 '20 11:09 keivalya

@keivalya Ofcourse

akshitagupta15june avatar Sep 23 '20 11:09 akshitagupta15june

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

rusyasoft avatar Sep 25 '20 06:09 rusyasoft

I would Like to Work on this during Hacktoberfest.

charchitmangal avatar Sep 26 '20 18:09 charchitmangal