Problem 55530. Jump Search - 01
29.03% Correct | 70.97% Incorrect
Last Solution submitted on May 31, 2023
Show 1 older comment
William on 29 Sep 2022
In my opinion, Test 3 has an incorrect answer. It should be y_correct=0, because no jumps are required when the target is the first element in the list.
Asif Newaz on 29 Sep 2022
thanks william. it has been fixed
Dyuman Joshi on 29 Sep 2022
Asif, Can you explain test cases #4 and #5?
Asif Newaz on 30 Sep 2022
If the jump step is larger than the array size, u jump to the last element of the array. (the problem definition is updated accordingly)
Solution CommentsShow comments
Problem Recent Solvers8
given 3 sides, find area of this triangle
Rule of mixtures (composites) - lower and upper bounds (volumes)
More from this Author165
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!