Algorithms, 4th edition textbook code (using c++)
Note:
- based on STL Library
- using C++14
- Not support drawing
the code is writed and debug in CLion IDE,and not test in terminal(I will check it after finish more code)
REF | PROGRAM | DESCRIPTION / JAVADOC | REF | PROGRAM | DESCRIPTION / JAVADOC |
---|---|---|---|---|---|
- | BinarySearch.h | binary search | - | RandomSeq.cpp | random numbers in a given range |
- | Average.cpp | average of a sequence of numbers | - | Cat.cpp | concatenate files |
- | Knuth.h | Knuth shuffle | - | Counter.h | counter |
- | StaticSETofInts.h | set of integers | - | Whitelist.cpp | whitelist client |
- | Vector.h | Euclidean vector | - | Date.h | date |
- | Transaction.h | transaction | - | Point2D.h | point |
- | RectHV.h | axis-aligned rectangle | - | Interval1D.h | 1d interval |
- | Interval2D.h | 2d interval | - | Accumulator.h | running average and stddev |
1.1 | ResizingArrayStack.h | LIFO stack (resizing array) | 1.2 | LinkedStack.h | LIFO stack (linked list) |
- | Stack.h | LIFO stack | - | ResizingArrayQueue.h | FIFO queue (resizing array) |
1.3 | LinkedQueue.h | FIFO queue (linked list) | - | Queue.h | FIFO queue |
- | ResizingArrayBag.h | multiset (resizing array) | 1.4 | LinkedBag.h | multiset (linked list) |
- | Bag.h | multiset |