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.
- Percolation (Union-find) - Score: 86%
- Randomized Queues and Deques (Queue and Stack) - Score: 99%
- 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 usehashcode()
); for that reason that code block is commented out.
- 8 Puzzle (Priority Queues) - 90%
- Kd-Tree (Balanced Search Trees) - 86%
- WordNet - not completed
- Seam Carving - not completed
- Baseball Elimination (Network Flow) - not completed
- Burrows-Wheeler Data Compression Algorithm - not completed