HLD S3, Quad Trees (nearest neighbors), and HLD Case Study- Design Uber

Q1.)How do you store a quad tree on machine?