Chapter 0 modules¶
- 0.1. Data Structures and Algorithms
- 0.2. Spotlight: Carl Friedrich Gauss
- 0.3. Spotlight: Francis Bacon
- 0.4. Command Line Basics
- 0.5. Parsing Command Line Parameters In Your Program
- 0.6. Using Command Line Parameters in Eclipse
- 0.7. Installing the Web-CAT Submission Plug-in for Eclipse
- 0.8. Common Debugging Methods
- 0.9. Debugging In Eclipse
- 0.10. Using the Java Scanner Class
- 0.11. Random Access Files In Java
- 0.12. JUnit Testing And You
- 0.13. Writing JUnit Tests
- 0.14. Code Coverage In JUnit
- 0.15. Using Mutation Coverage In Eclipse
- 0.16. Mutation Testing Basics
- 0.16.1. Types of Mutants
- 0.16.1.1. Arithmetic Operation Mutant
- 0.16.1.2. Example Code 1: Arithmetic Operation Mutant
- 0.16.1.3. Logical Expression Mutant (Remove Conditionals)
- 0.16.1.4. Example Code 2: Logical Expression Mutant (Remove Conditionals)
- 0.16.1.5. Example Code 3: Multiple Mutants in One (EvenOddCheck)
- 0.16.1.6. Example Code 4: Loop Conditions (optional)
- 0.16.1. Types of Mutants
- 0.17. Mutation Coverage Advanced Examples
- 0.18. Abstract Data Types
- 0.19. Introduction to Object-Oriented Programming
- 0.20. The Unified Modeling Language
- 0.21. Software Development Processes
- 0.22. Pointers Chapter Introduction
- 0.23. Basic References Part 1
- 0.24. Basic References Part 2
- 0.25. Pointers Syntax
- 0.26. Local Memory
- 0.27. Heap Memory
- 0.28. Link Nodes
- 0.29. Link Nodes Practice Exercises
- 0.30. Additional Practice Exercises
- 0.31. Chapter Introduction
- 0.32. Sets and Relations
- 0.33. Miscellaneous Math Notation
- 0.34. Logarithms
- 0.35. Summations Introduction
- 0.36. An Introduction to Recurrence Relations
- 0.37. Mathematical Proof Techniques
- 0.38. Introduction to Estimation
- 0.39. Chapter Summary Questions
- 0.40. Searching in an Array
- 0.41. Chapter Introduction
- 0.42. Problems, Algorithms, and Programs
- 0.43. Comparing Algorithms
- 0.44. Best, Worst, and Average Cases
- 0.45. Faster Computer, or Faster Algorithm?
- 0.46. Asymptotic Analysis and Upper Bounds
- 0.47. Lower Bounds and \(\Theta\) Notation
- 0.48. Calculating Program Running Time
- 0.49. Analyzing Problems
- 0.50. Common Misunderstandings
- 0.51. Multiple Parameters
- 0.52. Space Bounds
- 0.53. Code Tuning and Empirical Analysis
- 0.54. Algorithm Analysis Summary Exercises
- 0.55. Algorithm Analysis Summary Exercises
- 0.56. Chapter Introduction: Lists
- 0.57. A List ADT
- 0.58. Array-Based List Implementation
- 0.59. Linked Lists
- 0.60. Comparison of List Implementations
- 0.61. Doubly Linked Lists
- 0.62. List Element Implementations
- 0.63. Stacks
- 0.64. Linked Stacks
- 0.65. Freelists
- 0.66. Implementing Recursion
- 0.67. Queues
- 0.68. Linked Queues
- 0.69. Linear Structure Summary Exercises
- 0.70. Introduction to Recursion
- 0.71. Writing a recursive function
- 0.72. Code Completion Practice Exercises
- 0.72.1. Introduction
- 0.72.2. Recursion Programming Exercise: Largest
- 0.72.3. Recursion Programming Exercise: Multiply
- 0.72.4. Recursion Programming Exercise: GCD
- 0.72.5. Recursion Programming Exercise: log
- 0.72.6. Recursion Programming Exercise: Cummulative Sum
- 0.72.7. Recursion Programming Exercise: Add odd values
- 0.72.8. Recursion Programming Exercise: Sum Of the Digits
- 0.72.9. Recursion Programming Exercise: Count Characters
- 0.73. Writing More Sophisticated Recursive Functions
- 0.74. Intermediate Recursion Code Completion Exercises
- 0.75. Writing Practice Exercises
- 0.76. Tracing Recursive Code
- 0.77. Recursion Code Tracing Practice Exercises
- 0.78. Recursion Summary Questions
- 0.79. Design Patterns
- 0.80. Alternative List ADT Designs
- 0.81. Comparing Records
- 0.82. The Dictionary ADT
- 0.83. Binary Trees Chapter Introduction
- 0.84. Binary Trees
- 0.85. Binary Tree as a Recursive Data Structure
- 0.86. The Full Binary Tree Theorem
- 0.87. Binary Tree Traversals
- 0.88. Implementing Tree Traversals
- 0.89. Information Flow in Recursive Functions
- 0.89.1. Information Flow in Recursive Functions
- 0.89.2. Binary Tree Set Depth Exercise
- 0.89.3. Collect-and-return
- 0.89.4. Binary Tree Check Sum Exercise
- 0.89.5. Binary Tree Leaf Nodes Count Exercise
- 0.89.6. Binary Tree Sum Nodes Exercise
- 0.89.7. Combining Information Flows
- 0.89.8. Binary Tree Check Value Exercise
- 0.89.9. Combination Problems
- 0.89.10. Binary Tree Height Exercise
- 0.89.11. Binary Tree Get Difference Exercise
- 0.89.12. Binary Tree Has Path Sum Exercise
- 0.90. Binary Tree Node Implementations
- 0.91. Composite-based Expression Tree
- 0.92. Binary Tree Space Requirements
- 0.93. Binary Search Trees
- 0.94. Dictionary Implementation Using a BST
- 0.95. Binary Tree Guided Information Flow
- 0.96. Multiple Binary Trees
- 0.97. A Hard Information Flow Problem
- 0.98. Array Implementation for Complete Binary Trees
- 0.99. Heaps and Priority Queues
- 0.100. Huffman Coding Trees
- 0.101. Trees versus Tries
- 0.102. Proof of Optimality for Huffman Coding
- 0.103. Binary Tree Chapter Summary
- 0.104. Chapter Introduction: Sorting
- 0.105. Sorting Terminology and Notation
- 0.106. Insertion Sort
- 0.107. Bubble Sort
- 0.108. Selection Sort
- 0.109. The Cost of Exchange Sorting
- 0.110. Optimizing Sort Algorithms with Code Tuning
- 0.111. Shellsort
- 0.112. Mergesort Concepts
- 0.113. Implementing Mergesort
- 0.114. Quicksort
- 0.115. Heapsort
- 0.116. Binsort
- 0.117. Radix Sort
- 0.118. An Empirical Comparison of Sorting Algorithms
- 0.119. Lower Bounds for Sorting
- 0.120. Sorting Summary Exercises
- 0.121. Chapter Introduction: File Processing
- 0.122. Primary versus Secondary Storage
- 0.123. Disk Drives
- 0.124. Buffer Pools
- 0.125. The Programmer’s View of Files
- 0.126. External Sorting
- 0.127. Introduction to Hashing
- 0.128. Hash Function Principles
- 0.129. Sample Hash Functions
- 0.130. Open Hashing
- 0.131. Bucket Hashing
- 0.132. Collision Resolution
- 0.133. Improved Collision Resolution
- 0.134. Analysis of Closed Hashing
- 0.135. Hahing Deletion
- 0.136. Hashing Chapter Summary Exercises
- 0.137. Chapter Introduction: Memory Management
- 0.138. Dynamic Storage Allocation
- 0.139. Sequential-Fit Methods
- 0.140. First Fit Memory Allocation
- 0.141. Circular First Fit
- 0.142. Best Fit Memory Manager
- 0.143. Worst Fit Memory Manager
- 0.144. Sequential Fit Peformance
- 0.145. Buddy Method and Other Memory Allocation Methods
- 0.146. Failure Policies and Garbage Collection
- 0.147. Indexing Chapter Introduction
- 0.148. Linear Indexing
- 0.149. ISAM
- 0.150. Tree-based Indexing
- 0.151. 2-3 Trees
- 0.152. B-Trees
- 0.153. Indexing Summary Exercises
- 0.154. General Trees
- 0.155. Union/Find and the Parent Pointer Implementation
- 0.156. Sequential Tree Representations
- 0.157. Graphs Chapter Introduction
- 0.158. Graph Implementations
- 0.159. Graph Traversals
- 0.160. Topological Sort
- 0.161. Shortest-Paths Problems
- 0.162. Minimal Cost Spanning Trees
- 0.163. Kruskal’s Algorithm
- 0.164. All-Pairs Shortest Paths
- 0.165. Spatial Data Structures
- 0.166. The PR Quadtree
- 0.167. KD Trees
- 0.168. The Bintree
- 0.169. Other Spatial Data Structures
- 0.170. Data and Algorithm Analysis
- 0.171. An Introduction to Problem Solving
- 0.172. Semester Overview
- 0.173. Introduction to Analyzing a Problem
- 0.174. Bounds Review
- 0.175. Growth Rates Review
- 0.176. Summation Techniques
- 0.177. Solving Recurrence Relations
- 0.178. Chapter Introduction: Search
- 0.179. Analyzing Search in Unsorted Lists
- 0.180. Search in Sorted Arrays
- 0.181. Self-Organizing Lists
- 0.182. Bit Vectors for Representing Sets
- 0.183. Perfect Hashing
- 0.184. Finding the Maximum Value
- 0.185. Adversarial Lower Bounds Proofs
- 0.186. State Space Lower Bounds Proofs
- 0.187. Finding the \(i\) th Best Element
- 0.188. Optimal Sorting
- 0.189. Number Problems
- 0.190. The Transformation Concept
- 0.191. The Fast Fourier Transform
- 0.192. Introduction to Probabilistic Algorithms
- 0.193. Finding Prime Numbers
- 0.194. Random Numbers
- 0.195. Skip Lists
- 0.196. Balanced Trees
- 0.197. The AVL Tree
- 0.198. The Splay Tree
- 0.199. The Red-Black Tree
- 0.200. The Sparse Matrix
- 0.201. Dynamic Programming
- 0.202. Amortized Analysis
- 0.203. 0/1 Knapsack Problem
- 0.204. Edit Distance
- 0.205. KMP String Search Algorithm
- 0.206. Boyer-Moore String Search Algorithm
- 0.207. Rabin-Karp String Search Algorithm [Draft]
- 0.208. General Tree Implementations
- 0.209. K-ary Tree Implementations
- 0.210. Limits to Computing
- 0.211. Reductions
- 0.212. NP-Completeness
- 0.213. Circuit Satisfiability
- 0.214. Formula Satisfiability
- 0.215. 3-CNF Satisfiability
- 0.216. The Clique Problem
- 0.217. The Independent Set Problem
- 0.218. The Vertex Cover Problem
- 0.219. The Hamiltonian Cycle Problem
- 0.220. The Traveling Salesman Problem
- 0.221. NP-Completeness Proofs
- 0.222. Reduction of Circuit SAT to SAT
- 0.223. Reduction of SAT to 3-SAT
- 0.224. Reduction of 3-SAT to Clique
- 0.225. Reduction of Clique to Independent Set
- 0.226. Reduction of Independent Set to Vertex Cover
- 0.227. Reduction of 3-SAT to Hamiltonian Cycle
- 0.228. Reduction of Hamiltonian Cycle to Traveling Salesman
- 0.229. Coping with NP-Complete Problems
- 0.230. Unsolvable Problems
- 0.231. Turing Machines
