Study of an analysis of one of the most basic problems in CS - sorting. Introduction to all basic kinds of analysis of algorithms and asymptotic analysis and notations.
Discussion of recurrences and recursion trees in the context of merge sort and analyzing the performance of merge sort. It also introduces Big-O notations in the context of algorithm analysis.
Introduces and analyzes various different types of sorting algorithms. This chapter discusses their efficiency, how they compare to each other and how they are different from each other. It covers bubble sort, quick sort and selection sort. It also introduces the problem of searching, discusses linear and binary search algorithms and their efficiency through analyzing them.
Introduction to the Divide and Conquer Paradigm of solving problems, in the context of algorithm analysis using recurrences and recursion trees. The most common divide and conquer solutions are introduced - merge sort, binary search, powering a number and Fibonacci.
Introduction to a common problem in CS - the symbol-table problem and how it is solved through hashing. Discusses hashing concepts such as choosing a hash function and properties of a good hash function, collision resolution through chaining. Presents analysis of the speed of hashing operations.
You must complete all chapters before taking the course exam.
Bubble Sort is the most basic sort and the easiest sort to implement. It is discussed here together with its details and inner workings.
Bubble Sort is analyzed here, and its performance is discussed. Also the concept of proving by induction is introduced here.
Introduction to selection sort. Selection sort is yet another way of solving the sorting problem. We also look at the performance and analysis of selection sort.
Introduction to the problem of searching for an element in a list. The solutions to this problem are linear search and binary search algorithms. Both algorithms are analyzed and their performance and quirks are compared.
Quick Sort is one of the most efficient (on average) solution to the sorting problem. Here we discuss the inner workings of quick sort.
Introduction to analyzing quick sort. Quick sort's performance is discussed.
Take the chapter 3 test and unlock the Sorting badge.
Introduction to the problem of searching for an element in a list. The solutions to this problem are linear search and binary search algorithms. Both algorithms are analyzed and their performance and quirks are compared.
edit
You are making progress towards completing chapter 3 and unlocking the Sorting Badge
This badge is worth: 50 Points
No one has said anything yet!
Start the discussion by asking a question.