Write this accumuator in a functional style

Paul Rubin no.email at nospam.invalid
Fri Jul 14 12:23:04 EDT 2017


Rustom Mody <rustompmody at gmail.com> writes:
> Yeah I know append method is supposedly O(1).

It's amortized O(1).



More information about the Python-list mailing list