Administrivia¶
Week 1 Introduction, Java Review¶
- 1.1. Chapter Introduction
- 1.2. Data Structures and Algorithms
- 1.3. Testing
- 1.4. JUnit Testing And You
- 1.5. Writing JUnit Tests
- 1.6. Writing JUnit Tests with student.TestCase
- 1.7. Code Coverage In JUnit
- 1.8. Bowling Example
- 1.9. Commenting guidelines
Week 2 Arrays, Linear and Binary Search¶
Week 3 Hash Tables¶
Week 4 Sorting Arrays with loops¶
Week 5 Algorithm Analysis (Big O)¶
- 5.1. Chapter Introduction
- 5.2. Analyzing Problems
- 5.3. Asymptotic Analysis and Upper Bounds
- 5.4. Best, Worst, and Average Cases
- 5.5. Common Misunderstandings
- 5.6. Comparing Algorithms
- 5.7. Faster Computer, or Faster Algorithm?
- 5.8. Problems, Algorithms, and Programs
- 5.9. Algorithm Analysis Summary Exercises
Week 6 Recursion: Sorting and Binary Search Revisited¶
- 6.1. Introduction
- 6.2. Tracing Practice Exercises
- 6.3. Tracing Recursive Code
- 6.4. Code Completion Practice Exercises
- 6.4.1. Introduction
- 6.4.2. Recursion Programming Exercise: Largest
- 6.4.3. Recursion Programming Exercise: Multiply
- 6.4.4. Recursion Programming Exercise: GCD
- 6.4.5. Recursion Programming Exercise: log
- 6.4.6. Recursion Programming Exercise: Cummulative Sum
- 6.4.7. Recursion Programming Exercise: Add odd values
- 6.4.8. Recursion Programming Exercise: Sum Of the Digits
- 6.4.9. Recursion Programming Exercise: Count Characters
- 6.5. Quicksort
- 6.6. Quicksort
- 6.7. An Empirical Comparison of Sorting Algorithms
- 6.8. Sorting Summary Exercises
Week 7 Java Review Objects¶
Week 8 Linear Linked Structures¶
- 8.1. Chapter Introduction: Lists
- 8.2. The List ADT
- 8.3. Array-Based List Implementation
- 8.4. Link Nodes
- 8.5. Link Nodes Practice Exercises
- 8.6. Linked Lists
- 8.7. Queues
- 8.8. Stacks
- 8.9. Linked Queues
- 8.10. Linked Stacks
- 8.11. Comparison of List Implementations
- 8.12. Linear Structure Summary Exercises
- 8.13. Practice Exercises
- 8.13.1. JHAVEPOPEx1
- 8.13.2. JHAVEPOPEx2
- 8.13.3. JHAVEPOPEx3
- 8.13.4. JHAVEPOPEx4
- 8.13.5. JHAVEPOPEx5
- 8.13.6. JHAVEPOPEx6
- 8.13.7. JHAVEPOPEx7
- 8.13.8. JHAVEPOPEx8
- 8.13.9. JHAVEPOPEx9
- 8.13.10. JHAVEPOPEx10
- 8.13.11. JHAVEPOPEx11
- 8.13.12. JHAVEPOPEx12
- 8.13.13. JHAVEPOPEx13
- 8.13.14. JHAVEPOPEx14
- 8.13.15. JHAVEPOPEx15
- 8.13.16. JHAVEPOPEx16
- 8.13.17. JHAVEPOPEx17
- 8.13.18. JHAVEPOPEx18
- 8.14. More Practice Exercises
- 8.14.1. AddNodeAfterRef7
- 8.14.2. ChangeHeadNodeValue
- 8.14.3. ConcatenateTwoLists
- 8.14.4. DeleteNode
- 8.14.5. FirstNodeEqualsValue
- 8.14.6. InsertListAfterRef13
- 8.14.7. InsertListInMiddle
- 8.14.8. LastNodeParam5
- 8.14.9. LastNodeRef1
- 8.14.10. LoopInChain15
- 8.14.11. MiddleNodeRef3
- 8.14.12. ReferenceSecondLastNode
- 8.14.13. ReferenceValueNode
- 8.14.14. RemoveRefNext9
- 8.14.15. ReverseUpToRef11
Week 10 Recursion¶
Week 11 Non-Linear Linked Structures: Trees¶
Week 12 Tree Traversals¶
- 11.1. Binary Trees Chapter Introduction
- 11.2. Implementing Tree Traversals
- 11.3. Binary Search Trees
- 11.4. Binary Trees
- 11.5. Binary Tree Chapter Summary
- 11.6. Binary Tree Node Implementations
- 11.7. Binary Tree Space Requirements
- 11.8. Binary Tree Traversals
- 11.9. Binary Tree as a Recursive Data Structure