You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling size is taking O(n) time, where n is the number of words in words, even though getting the length of a list should take O(1) time on average, according to https://wiki.python.org/moin/TimeComplexity:
Calling
size
is taking O(n) time, where n is the number of words inwords
, even though getting the length of alist
should take O(1) time on average, according to https://wiki.python.org/moin/TimeComplexity:speller/dictionary.py
Lines 18 to 22 in 9ce3937
The text was updated successfully, but these errors were encountered: