There's also FLANN which is an approximate nearest neighbour algorithm which is routinely used for things like feature/keypoint matching (e.g. SIFT keypoints are 128 dimensional).
https://www.cs.ubc.ca/research/flann/
Barnes Hut is a fun one to implement for N-body simulations.