Given an array and a target sum, return true if any 2 numbers in the array sum up to the given target sum. Both numbers cannot have the same index in the array.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers26
Suggested Problems
-
Sum of first n terms of a harmonic progression
519 Solvers
-
Find last zero for each column
720 Solvers
-
787 Solvers
-
Write a function man that takes a row vector v and returns a matrix H as follows..
651 Solvers
-
Combined Ages 1 - Symmetric, n = 3
328 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!