Skip to content

This is Princeton University Algorithms by Robert Sedgewick course done in readable Ruby

Notifications You must be signed in to change notification settings

pateldd1/Robert-Sedgewick-Princeton-University-Algorithms-Coursera-Ruby

Repository files navigation

Princeton-University-Algorithms-Course-in-Ruby

This is the Princeton University Algorithms Course on Coursera by Robert Sedgewick I took with everything written in Ruby(very few Ruby cheat methods used), not Java, with bare to none Ruby methods used.

Answers to all the interview questions on the Coursera website for this course are also included in the corresponding directory, based on the data structure that was used.

Includes:

  • Binary Search Trees

    • Balanced/Unbalanced
    • Left-Leaning Red/Black BST implementation
  • Binary Heap

    • Priority Queue
    • Heapsort
  • Find Union

    • Percolation
    • Social network connection
  • Hash Table implementation

    • Linked List Hashing
    • Linear Probing
  • Memoization

    • Fibonacci Recursion example
  • Sorting

    • Insertion Sort
    • Shell Sort
    • Heap Sort
    • Quick Sort
    • 3way quicksort
    • Merge Sort recursive
    • bottom up as well
  • Stack and Queue implementations

    • Linked List
    • Dynamic Array
    • DECK
  • Geometric Trees

    • Interval Search
    • KD trees
    • nearest neighbor search
    • query rectangle
  • Binary Search

    • Iterative
    • Recursive

About

This is Princeton University Algorithms by Robert Sedgewick course done in readable Ruby

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages