Back to course home
0% completed
Vote For New Content
Wrong test cases
Santosh Sharma
May 17, 2025
Test cases are wrong,
for [2,1,5,2,8], target = 11
output should be 0 because there is no subarray which some is 11.
but is giving 3
0
0
Comments
Design Gurus3 months ago
For [2,1,5,2,8], target = 11
Isn't [5, 2, 8] having a sum of 15 a correct solution? As its sum is greater than 11.