On 7/9/2015 12:56 AM, deadalnix wrote: > Several of which actually use linked list for list and probably shouldn't > provide random access. Yes. Consider: for (int i = 0; i < list.length; ++i) sum += list[i]; If indexing was allowed on a list, this would seem like perfectly reasonable code.