Found an article you may be interested in: https://thriveglobal.com/stories/16-interview-questions-that-are-designed-to-trick-you/?utm_content=buffer0f13f&utm_medium=Arianna&utm_source=LinkedIn
Thrive Global
16 Interview Questions That Are Designed to Trick You
Some of these questions are obviously difficult, while others are more subtle traps.
Input : a list of array
1,2,3,4,5,6,7,8,9,0
Output : find an element in a list of array in which input is given by user.
Input :5
Output: 5 is at index 4
1,2,3,4,5,6,7,8,9,0
Output : find an element in a list of array in which input is given by user.
Input :5
Output: 5 is at index 4
Today we will learn binary search
How it works
And how we can solve problems by using BS
How it works
And how we can solve problems by using BS