Linear and Binary Search Algorithms Explained in Python with FULL code

preview_player
Показать описание
In this video we learn how the Linear Search Algorithm and the Binary Search Algorithm works in detail. We first discuss the theory then dive right into some Python code.

👨‍💻 The final code can be found on GitHub:

🐍 See the full free GSCE Python course here:

🛠️ Tools:

📚 Contents:
00:00 - Intro
00:11 - Linear Search Algorithm Explained
01:01 - How to code the Linear Search Algorithm
05:23 - Binary Search Algorithm Explained
07:07 - How to code the Binary Search Algorithm

#binarysearch #linearsearch #gcse #computerscience #pythonbeginners
Рекомендации по теме
Комментарии
Автор

What if we have the values 4, 4, 4 in the beginning of the list and we are looking for 4 in the list. It will give the output "found at position 1" three times. So dont you think this is wrong?

kavitakohli
Автор

👨‍💻 The final code can be found on GitHub:

StudyStreamPlus