One of Stanford CS106B course assignments. Including:
- Random Writer: implementation of the Markov model, generates text based on previous words.
- Word Ladder: Shortest chain of words to reach the target (uses bfs algorithm)
$ git clone https://github.com/potatoSalad21/CS106B-Assignment-2
after the installation navigate to the assignment folder, then to the program folder and run follow the usage instructions.
$ make
$ ./RandomWriter # (or ./WordLadder depending on which program you're running)