You are viewing a single comment's thread. Return to all comments →
Please read it carefully again, it indeed traverses the given list only once.
The functions max() and index() are applied on constant size list count (size only 6) !
max()
index()
count
Seems like cookies are disabled on this browser, please enable them to open this website
Migratory Birds
You are viewing a single comment's thread. Return to all comments →
Please read it carefully again, it indeed traverses the given list only once.
The functions
max()
andindex()
are applied on constant size listcount
(size only 6) !