Tech Talks | Coding
Why Java programmers wear glasses..🤓 B'cz they can't C# !! 🧐
Pages
Home
Java Basics
Did you know..??
BackEnd Technology.!
Spring
Interview Questions..!
Articles and Quotes
Sum of 2 elements in array with Target element
INPUT
:
2, 3, 4, 2, 1, 10, -4, 3
Output:
Pairs are: (4 2)
Pairs are: (-4 10)
Pairs are: (3 3)
Time complexity: O(n)
Click
here
for Java Code
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment