DAY - 26
For more Tech content Join us on linkedin click here
All the code snippets in this journey are available on my GitHub repository. π Feel free to explore and collaborate: Git Repository
Todayβs Learning :-
BINARY SEARCH QUESTION PRACTISE :-
Q1. With Binary Search, finding the number which is not present in the array like if the array doesn't have number 5 gives output greater than 5.
Arr = 1,2,3,6,7,8
Find = 5
Output = 6.
Q2. find the square root of the number.
Input = 100
Output = 10
Q3. Peak Index in Mountain
Arr = 2,4,6,8,10,8,5
Output = 10
π Thank you all for your time and support! π
Don't forget to catch me daily for the latest updates on my programming journey! Let's continue to learn, grow, and inspire together! π»β¨
Top comments (0)