Binary Search & Linear Search: Algorithms With Ruby

Опубликовано: 15 Октябрь 2024
на канале: Jesus Castello
1,400
42

Learn about computer science with Ruby!

In this video:

You'll learn about search algorithms, linear search & binary search.

A linear search means looking at every item. This can be slow for large lists.

Binary search keeps splitting the list in half, making it a lot faster to find the item you're looking for. It has a time complexity of O(log n).

Keep improving your skills & knowledge by watching more of my videos now, subscribing to this channel if you haven't yet, and...

Vistting my website:

https://wwww.rubyguides.com/

Thanks for watching! :)