DSA-Bootcamp-Java icon indicating copy to clipboard operation
DSA-Bootcamp-Java copied to clipboard

Bug in Finding the Position of Element in infiniteArray

Open moizextra opened this issue 1 year ago • 3 comments

Reproduce the bug : target=10; in the code but when we give target = something else after 10 in Array it will give index out of bound Error because the end exceeds the length of Array

moizextra avatar Jan 03 '24 06:01 moizextra

@abdulmoizsheraz , how may I access the source code,(the relevant PR or Issue) for which you have written this comment?

rishiraj88 avatar Jan 04 '24 02:01 rishiraj88

@rishiraj88 https://github.com/kunal-kushwaha/DSA-Bootcamp-Java/blob/main/lectures/10-binary%20search/code/src/com/kunal/InfiniteArray.java

moizextra avatar Jan 04 '24 02:01 moizextra

Hey is this issue still open?I can work on this.

ihemanthm avatar Feb 15 '24 12:02 ihemanthm