Tokopedia interview question

knowledge of time complexity, space complexity, data structures.