---
id: 698dea447932b3cc4b19c94c
title: Timing Our Search Scripts
challengeType: 11
videoId: F_YLFplzb94
dashedName: timing-our-search-scripts
---

# --description--

In this video, you will see how the binary and linear search algorithms work with a list of names and how the results compare. 

# --questions--

## --text--

What happened when the binary and linear search algorithm times were compared on a list of names?

## --answers--

Linear search took half as long to complete as binary search. 

---

Binary search took half as long to complete as linear search. 

---

Both algorithms took the same amount of time to complete.

---

Both algorithms timed out and no results were displayed.

## --video-solution--

2
