Valeriano Della Longa

Results 2 comments of Valeriano Della Longa

A solution could be in trading speed for accuracy, hence having the Collection subscript retrieve elements via the enumerated() method. This will make the subscript O(log n) operation rather than...

> I could be wrong, but wouldn't this mean that when you do a subscript, you are popping all of the elements before the index of the element you subscripted...