Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.83 KB

README.md

File metadata and controls

29 lines (24 loc) · 1.83 KB

Algorithms Fourth Edition

This repositorie contains some exercises and mooc class exercises.
You can get a reference from Algorithms.
You can get mooc class addrees Algorithms-part1 and Algorithms-part2.

Contents

Chapter1 Fundamentals

 1.1 Programming Model
 1.2 Data Abstraction
 1.4 Analysis of Algorithms
 1.5 Case Study: Union-Find

Chapter2 Sorting

 2.1 Elementary Sorts
 2.2 Merge Sorts
 2.3 Quick Sorts

Terminal Command

In Win10 PowerShell we can input cmd to read files with args.
Exp -> cat tinyUF.txt | java -classpath "D:\code\java\algs4.jar" chapter1_5.UF
In PowerShell we can't ues "<" (Like that: java -classpath "D:\code\java\algs4.jar" chapter1_5.UF < tinyUF.txt)"
Unless in the PowerShell you can input "cmd" then input "java -classpath "D:\code\java\algs4.jar" chapter1_5.UF < tinyUF.txt"
You can get reference from [Stackoverflow](https://stackoverflow .com/questions/39503642/powershell-the-operator-is-reserved-for-future-use-in-java?noredirect=1#comment66324711_39503642)

###PS

This repositories will update until I finish read this book.