6

Please explain quadtrees and provide simple code (preferably in C) for insertion and searching.

moinudin
  • 134,091
  • 45
  • 190
  • 216
algo-geeks
  • 5,280
  • 10
  • 42
  • 54

1 Answers1

18

Wikipedia has a good article on quadtrees. The quadtree section in these slides is very good.

Here are some C implementations (found via Googling for quadtree c -"c++" -"c#"):

moinudin
  • 134,091
  • 45
  • 190
  • 216