LTIMindtree Interview Question

which is faster list or tuple?

Interview Answer

Anonymous

Apr 11, 2024

Answer is tuple. Because you cant remove an element or replace it where as you can do that with list in python. Thus tuples are memory efficient and is faster.