Pergunta de entrevista da empresa LTM Limited

which is faster list or tuple?

Resposta da entrevista

Sigiloso

11 de abr. de 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.