Hello there, I can't quite get my head around how the quad-tree and/or oct-tree systems work, does anyone have some source i can study to try better understand the inner workings of these algorithms?

Any help is appreciated.

Thanks in advance.

-Colin