Problem: Given any five points in/on the unit square, is there always a pair with distance ≤ ? 1 1
2 1
- What approaches fail?
- What techniques work and why?
- Lessons and generalizations
Problem: Given any five points in/on the unit 1 square, is there - - PowerPoint PPT Presentation
Problem: Given any five points in/on the unit 1 square, is there always a pair with distance ? 2 1 1 What approaches fail? What techniques work and why? Lessons and generalizations Problem: Given any five points in/on the
2 1
X
X
n
n
n n
n
n) log O(n 2 πn 2 log e n log n e n πn 2 log ) (n! log
n
Primitive types: 1. Boolean 2. Character 3. Floating-point 4. Double 5. Integer 6. Enumerated type Abstract data types: 7. Array 8. Container 9. Map
Composite types:
Arrays:
Lists:
Binary trees:
Binary trees (continued):
Trees:
B-trees:
Heaps:
Multiway trees:
Space-partitioning trees:
Space-partitioning trees (cont):
Application-specific trees:
Hashes:
Graphs:
Other:
c b e d f a
c b e d f a