Skip to content

Latest commit

 

History

History

04-trees

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Unit 4: Tree data structures

This unit covers tree data structures and their use:

  • Binary search trees
  • Sets and maps (in library)
  • Heaps
  • Priority queues (in library)

Prerequisites

Practice problems

Easy

  • UVa 11849 - CD (uses set)
  • UVa 10226 - Hardwood Species (uses map, input a bit tricky)
  • UVa 10954 - Add All (uses priority_queue, make sure to use long long because numbers get large)

Medium

Hard