Wanderlog interview question

manipulation of data structures with simple algorithms