Class Related Material

  1. Python gotchas
  2. Interactive online textbook
  3. Python code visualizer
  4. Chapter 1
    1. The Fraction class
    2. List of "magic" methods in Python for operator overloading , another resource
  5. Chapter 2
  6. Chapter 3 - Basic data structures - Stack, Queue, Linked List
    1. Algorithm animation
      1. Stack using a Linked List
  7. Chapter 4 - Recursion
    1. Fibonacci series
      1. About the series
      2. An iterative solution
      3. A recursive solution
    2. Algorithm animation
      1. Factorial
      2. N-queens
  8. Chapter 5 - Searching and Sorting algorithms
    1. Animations
      1. Hashing - Open Addressing 
      1. Hashing - Collision resolution with chaining
    1. Sorting algorithms
      1. On Wikipedia
      2. Animation comparing various algorithms
      3. Another animation comparing sorting algorithms
    1. Quicksort - class version
    2. Mergesort - class version
  9. Chapter 6 - Binary Trees
    1. Example