
- Computer Science
- Intermediate
About this Course
This course will look at algorithms in two categories: sorting and searching. We'll implement well-known sorting algorithms like selection sort, quicksort, and merge sort. You'll also learn basic search algorithms like sequential search and binary search.
What you'll learn
- Recursion
- Sorting algorithms
- Searching algorithms
- Big O notation
Sorting Algorithms
Let's look at several common sorting algorithms, including Quicksort and Merge Sort.
15 steps-
Sorting and Searching
3:55
-
Bogosort
5:39
-
Code for Bogosort
-
Selection Sort
6:35
-
Code for Selection Sort
-
Getting the Run Time of a Program
4:06
-
Recursion
10:00
-
Quicksort
5:54
-
Implementing Quicksort
5:22
-
Code for Quicksort
-
Merge Sort
7:10
-
Code for Merge Sort
-
Actual Run Time for Sorting Algorithms
2:13
-
Big-O Run Times of Sorting Algorithms
5:42
-
Sorting Algorithms
11 questions
Searching Names
This stage will cover common algorithms for searching through an array or other collection: Linear Search and Binary Search.
8 stepsTeacher
-
Jay McGavren
Resident Ruby and Go teacher for Treehouse. Author of Head First Ruby, a tutorial book on the core Ruby language.