Is len O(n) or O(1) ?
process
circularfunc at gmail.com
Thu Sep 11 16:21:46 EDT 2008
Previous message (by thread):
Is len O(n) or O(1) ?
Next message (by thread):
Is len O(n) or O(1) ?
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
ok but if len is O(1) then it doesnt matter? compared to if not lista: return [] i mean.
Previous message (by thread):
Is len O(n) or O(1) ?
Next message (by thread):
Is len O(n) or O(1) ?
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list mailing list