For a user input array check the pair with given sum is present in the array or not.
Have you read the Contribution Guidelines?
yes
Pitch
you have to take a array and its size n as a input from user and have to print "yes" (without quotes) if there is a pair in the array with sum k(user input) and "no" (without quotes) if it is not present.
you have to use hashing for solving this problem.
Assignees
C -
C# -
C++ -
Go -
Java -
Javascript -
Kotlin -
Python -
🚀 Feature
For a user input array check the pair with given sum is present in the array or not.
Have you read the Contribution Guidelines?
yes
Pitch
you have to take a array and its size n as a input from user and have to print "yes" (without quotes) if there is a pair in the array with sum k(user input) and "no" (without quotes) if it is not present. you have to use hashing for solving this problem.
Assignees
C -
C# -
C++ -
Go -
Java -
Javascript -
Kotlin -
Python -