Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.46 KB

README.md

File metadata and controls

22 lines (17 loc) · 1.46 KB

Princeton Algorithms - Assignment Solutions

Solutions to the programming assignments from the Coursera MOOC: Algorithms, Part I and Part II by Kevin Wayne, Robert Sedgewick.

Each assignment is solved in chronological order has is organized into its own Netbeans project. Each project may have multiple run configurations, which you can access via run > Set Project Configuration.

If you intend to use Netbeans as well, I recommend installing the checkstyle and findbugs plugin. They are used in evaluating your assignments.

Part I

  1. Percolation (Union-find) - Score: 86%
  2. Randomized Queues and Deques (Queue and Stack) - Score: 99%
  3. Pattern Recognition (Sort) - Score: 94%
  • Solution contains subsegment of a segment in reference solution. I did solved that, but used HashMap which got disqualified (cannot use hashcode()); for that reason that code block is commented out.
  1. 8 Puzzle (Priority Queues) - 90%
  2. Kd-Tree (Balanced Search Trees) - 86%

Part II

  1. WordNet - not completed
  2. Seam Carving - not completed
  3. Baseball Elimination (Network Flow) - not completed
  4. Burrows-Wheeler Data Compression Algorithm - not completed