Why is time taken to access an element in a non-homogeneous list considered as constant or How is a non-homogeneous list stored in memory in case of python?
In case of a homogeneous list, knowing the type and position, the memory location can be determined but how is it done in case of a non homogeneous list so fast as to consider it as a function of constant time?
Going through this page Does Python use linked lists for lists? Why is inserting slow? I assume it stores elements in contiguous memory locations.