Glovo interview question

O(N) in data structures and data structures