Basic HS Geometry Review
Solving Geometry Problems
Other Geometry Concepts
More Resources
Lecture 10: Computational Geometry
CS 491 CAP
Uttam Thakore
Friday, October 29th , 2015
Credit for many of the slides on solving geometry problems goes to the Stanfo

CS 491 CAP
Intermediate Dynamic Programming
Jingbo Shang
University of Illinois at Urbana-Champaign
Oct 23, 2015
Outline
Linear DP
Interval DP
Tree DP
Set DP
2
Basic DP Revisited
items
volume, value, copies
You have a bag of volume
How much value c

CS 491 CAP
Intro to Combinatorial Games
Mike Seo
University of Illinois at Urbana-Champaign
Nov 6, 2015
Combinatorial Games
Turn-based competitive multiplayer games
Can be a simple win-or-lose game, or involve points
Everyone has perfect information
Each

CS 491 CAP
Intro to Competitive Algorithmic Programming
Lecture 14
Wrap-up
Uttam Thakore, Jingbo Shang, Mike Seo
University of Illinois at Urbana-Champaign
December 4, 2015
What did we cover this semester?
Ad hoc & simulation problems
Basic graph problems

Segment Tree
Jingbo Shang
University of Illinois, Urbana-Champaign
Jan 29, 2016
Outlines
Build
Query
Point-wise Modification
Interval-wise Modification
Persistent Segment Tree
K-th smallest element
An example
Figure from Wikipedia: https:/en.wikiped

Advanced Graph Problem
Jingbo Shang
You should know before this practice
Directed / Undirected Graph
DAG / Topological Sort
BFS / DFS / Connectivity
Strong Connected Component
You should know after this practice
(Weighted) Bipartite Max Matching
Max

LCA & RMQ
Jingbo Shang
University of Illinois, Urbana-Champaign
Feb 5, 2016
Outlines
Range Minimum Query
Segment Tree
Sparse Table
Lowest Common Ancestor
() ( )
()
From LCA to RMQ
Euler Tour Order
From RMQ to LCA*
Range Minimum Query
A fixed arr

2-SAT
Jingbo Shang
University of Illinois, Urbana-Champaign
Feb 12, 2016
Outlines
What is 2-SAT?
How to solve it?
How to construct a solution?
Problems discussion.
2-SAT Problem
= 1 1 2 2 ( )
, are literals of Boolean variables.
Is satisfiable?
2-S

CS 491 CAP
String Hash Algorithms
Jingbo Shang
University of Illinois at Urbana-Champaign
Nov 20, 2015
Outline
Rabin-Karp Hash
Applications of String Hash Algorithms
2
Rabin-Karp Hash
Input:
String 1. .
Parameters:
A small prime number
A large (pri