#python #binarysearch #codeasitis
In this Python programming video tutorial you will learn about Binary search in detail.
binary search is also known as half-interval search, is a search algorithm that finds the position of a target value within a sorted array.
Binary search compares the target value to the middle element of the array. If they are not equal, the half in which the target cannot lie is eliminated and the search continues on the remaining half, again taking the middle element to compare to the target value, and repeating this until the target value is found. If the search ends with the remaining half being empty, the target is not in the array.
All demo files can be present at Github :- https://github.com/codeasitis/Python
**********
To learn Python, start our Python Playlist HERE:
https://www.youtube.com/playlist?list=PLd7UdCQWfeFhGU4qgujWKfimkKgZc3wat
Subscribe to CodeAsItIs: https://www.youtube.com/c/codeasitis
**********
You can write to me at - [email protected]
**********
Connect with us!
Facebook: https://www.facebook.com/code.asitis.7
Instagram: https://www.instagram.com/codeasitis/
Twitter: https://twitter.com/CodeAsItIs1
**********
Thank you!
CodeAsItIs