Glovo Interview Question

O(N) in data structures and data structures