kaustubhgupta / Hacktoberfest

This is for the information that the repository has been excluded by the Hacktoberfest team from the event. This was done to maintain the quality standards and promote good quality open source contributions.
MIT License
55 stars 278 forks source link

Two Sum Problem in O(nlog(n)) #634

Closed divya-rai-42 closed 2 years ago

divya-rai-42 commented 2 years ago

Description

Given an array and a particular number as a target , the aim is two find whether there exist two numbers in the array such that their sum is equal to the given target. Eg: array-> 1 -5 7 9 4 6 target-> 8 Output: Yes

Important Checklist

Languages and Assignees:

Notes

NA

github-actions[bot] commented 2 years ago

Congrats for creating your first issue here! Wait till our mentors assign this issue to you. In the meantime have a look at contribution guidlines to avoid any PR rejection

divya-rai-42 commented 2 years ago

@kaustubhgupta please assign this issue to me if you find it worth.

kaustubhgupta commented 2 years ago

@kaustubhgupta please assign this issue to me if you find it worth.

Sure, go ahead with the implementation

susheel-kumar-1998 commented 2 years ago

Hi, I would like to solve this problem in O(n) complexity. please, assign this issue to me. my code of preference would be java.

kaustubhgupta commented 2 years ago

Hi, I would like to solve this problem in O(n) complexity. please, assign this issue to me. my code of preference would be java.

sure

laxmipandey47 commented 2 years ago

@kaustubhgupta I want to contribute in C language, please assign.

kaustubhgupta commented 2 years ago

@kaustubhgupta I want to contribute in C language, please assign.

done

aastha0326 commented 2 years ago

I want to contribute in python, please assign this issue to me.

Exynos03 commented 2 years ago

I want to solve this problem in java. Please assign me this issue.

PrabhuRaamDev commented 2 years ago

I want to contribute in java. Please assign to me

kaustubhgupta commented 2 years ago

I want to contribute in python, please assign this issue to me.

done