Domanda di colloquio di Qube Research & Technologies

They asked me about time complexity of an algorithm. How would changing data structure affect the entire code time complexity.