University of Missouri-St. Louis CS 3130
Professor He · University of Missouri-St. Louis · 21 lectures with notes
Every lecture with its full transcript and chapters, and one search across all 21 lectures.
CS3130FS26Module4P2VidProc
Use decision-tree bounds to evaluate merging targets, and a tournament tree to find the second-largest element in n + ceil(log2 n) - 2 comparisons.
CS3130FS26Module4CVidProc
Mergesort runs in Θ(n log n), while stopping a merge as soon as the needed rank is reached can reduce selection work.
CS3130FS26Module4BVidProc
Balanced midpoint comparisons give binary search its logarithmic worst-case bound; selection seeks the kth-smallest item without fully sorting.
CS3130FS26Module4AVidProc
Insertion sort is efficient for nearly sorted data, while binary insertion and tournament reasoning yield optimal comparison counts for small arrays.
CS3130FS26Module3C2VidProc
Memoization removes repeated recursive work, reducing Fibonacci calculation from exponential time to O(n).
CS3130FS26Module3DVidProc
Derive Binet’s Fibonacci formula by solving the recurrence with exponential trial solutions and a linear combination of its two roots.
CS3130FS26Module3R2VidProc
Five algorithm problems show how careful elimination, shared computation, and comparison order reduce work.
CS3130FS26Module3R1VidProc
Use explicit constructions, shared computation, and the bound ⌈3n/2⌉ − 2 to solve algorithm-analysis problems reliably.
CS3130FS26Module3CVidProc
Euclid’s algorithm and Fibonacci memoization show how reducing work transforms slow recursive computations into efficient algorithms.
CS3130FS26Module3AVidProc
Recursion solves complex problems by reducing them to smaller instances, with call-stack memory as the main cost.
CS3130FS26Module2C2VidProc
Big O, Big Omega, and Big Theta compare growth through bounds that hold for all sufficiently large input sizes.
CS3130FS26Module2C1VidProc
Bubble sort repeatedly removes adjacent inversions, while asymptotic notation compares algorithm growth using limits or constant bounds.
CS3130FS26Module2BVidProc
Sorting turns element uniqueness from a quadratic pairwise search into an n log n worst-case algorithm.
CS3130FS26Module2AVidProc
Selection sort repeatedly places the minimum, requiring n(n−1)/2 comparisons regardless of input order.
CS3130FS26Module1DVidProc
An n−1-comparison scan finds an array’s minimum optimally, as shown by a lower bound based on eliminating losing candidates.
CS3130FS26Module1CVidProc
Recognizing polynomial structure saves operations; probability-weighted analysis and overflow awareness help evaluate algorithms reliably.
CS3130FS26Module1B3VidProc
Horner’s rule and repeated squaring show how algorithm design can cut polynomial and exponentiation multiplication counts dramatically.
CS3130FS26Module1B2VidProc
Horner’s rule evaluates a degree-n polynomial with n multiplications by factoring and reusing intermediate results.
CS3130FS26Module1B1VidProc
Use complement-based sieving and square-root bounds to reduce prime-finding work, then apply operation counting to improve polynomial evaluation.
CS3130FS26Module1A2VidProc
Grouping squares by size reveals the invariant behind the 8×8 board’s total of 204 squares.
CS3130FS26Module1A1VidProc
CS3130 combines a detailed assessment plan with a first problem-solving lesson on organizing chessboard squares by size.