Back to course home
0% completed
Vote For New Content
Invalid Solution Provided
Nirav Patel
Dec 13, 2024
For Input Arr = [3,2,4] and targetSum = 6, Expected output = [1,2] But Actual output = [-1, -1].
This is a wrong answer.
0
1
Comments
Comments
Design Gurus10 months ago
This input is not valid. The problem expects a sorted array.
A
amruthlakkavaram123 8 months ago
"Given an array in sorted order" it says in the question
On this page
Problem Statement
Try it yourself