LTM Limited interview question

which is faster list or tuple?

Interview Answer

Anonymous

11 Apr 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.