Spire Global Interview Question

Coding : Data structures and algorithms