Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xxyzz/algs4

Coursera Algorithms assignments and book(algs4) exercises
https://github.com/xxyzz/algs4

algs4 coursera-algorithms java mooc

Last synced: 5 days ago
JSON representation

Coursera Algorithms assignments and book(algs4) exercises

Awesome Lists containing this project

README

        

# [Algorithms(4th Edition) assignments and exercises](https://algs4.cs.princeton.edu/home/)

```
// Adding external JAR to VSCodium
$ cp /usr/local/lift/lib/algs4.jar lib/algs4.jar

// Compile
$ javac-algs4 *.java

// Static Code Analysis Tools
$ spotbugs *.class
$ pmd .
$ checkstyle -coursera *.java

// Run
$ java-algs4 HelloWorld
```

# Part I

## Assignment 1: percolation

- [Specification](https://coursera.cs.princeton.edu/algs4/assignments/percolation/specification.php)

## Assignment 2: queues

- [Specification](http://coursera.cs.princeton.edu/algs4/assignments/queues.html)
- [Checklist](http://coursera.cs.princeton.edu/algs4/checklists/queues.html)

## Assignment 3: collinear

- [Specification](http://coursera.cs.princeton.edu/algs4/assignments/collinear.html)
- [Checklist](http://coursera.cs.princeton.edu/algs4/checklists/collinear.html)

## Assignment 4: 8puzzle

- [Specification](http://coursera.cs.princeton.edu/algs4/assignments/8puzzle.html)
- [Checklist](http://coursera.cs.princeton.edu/algs4/checklists/8puzzle.html)

## Assignment 5: kdtree

- [Specification](http://coursera.cs.princeton.edu/algs4/assignments/kdtree.html)
- [Checklist](http://coursera.cs.princeton.edu/algs4/checklists/kdtree.html)

# Part II

## Assignment 6: WordNet

- [Specification](http://coursera.cs.princeton.edu/algs4/assignments/wordnet.html)
- [Checklist](http://coursera.cs.princeton.edu/algs4/checklists/wordnet.html)

## Assignment 7: Seam Carving

- [Specification](http://coursera.cs.princeton.edu/algs4/assignments/seam.html)
- [Checklist](http://coursera.cs.princeton.edu/algs4/checklists/seam.html)

## Assignment 8: Baseball Elimination

- [Specification](http://coursera.cs.princeton.edu/algs4/assignments/baseball.html)
- [Checklist](http://coursera.cs.princeton.edu/algs4/checklists/baseball.html)

## Assignment 9: Boggle

- [Specification](http://coursera.cs.princeton.edu/algs4/assignments/boggle.html)
- [Checklist](http://coursera.cs.princeton.edu/algs4/checklists/boggle.html)

## Assignment 10: Burrows–Wheeler

- [Specification](http://coursera.cs.princeton.edu/algs4/assignments/burrows.html)
- [Checklist](http://coursera.cs.princeton.edu/algs4/checklists/burrows.html)