CS200: Algorithms and Data Structures (Fall, 2013)
Announcements
Overview
Schedule
Discussions
RamCT
Useful Links
Recent Changes
Midterm 1 Review
Java
Classes, variables, methods
public, protected, private access
constructors, default constructor
Generic types
toString method
printf formating method
arrays
Recursion
recursive algorithms
recursive java methods
backtracking algorithm
Linked-Lists
Node class
Singly-linked lists
Use of dummy node
Doubly-linked lists
for loop to find item in a linked list
recursive method to find item in a linked list
Stacks and Queues
As linked lists
As arrays, and circular arrays
What each is good for.
Mathematical Induction
How to prove mathematical properties of problems of size
Correct base case, inductive hypothesis, and inductive step
Formal Languages
sets of strings
defining languages recursively
grammars
recognition procedures
Complexity
Big-O notation
Worst-case, average-case, and best-case analysis