Create a program to find all pairs in a hardcoded array that sum up to a hardcoded target.
MediumProblem Statement
Create a program to find all pairs in a hardcoded array that sum up to a hardcoded target.
Sample Input
Array: [1, 2, 3, 4, 5], Target: 6
Sample Output
Pairs: [1, 5] [2, 4]
Limits
Time: 2s · Memory: 256 MB