This is a search game which ask user to guess the index of a secret number, you may apply your binary search logic here. Start with an index, if that secret element is present at your guessed index …
This is a search game which ask user to guess the index of a secret number, you may apply your binary search logic here. Start with an index, if that secret element is present at your guessed index …