Skip to content Skip to sidebar Skip to footer
Showing posts with the label Complexity Theory

Time Complexity Of Accessing An Element In A Tuple

There is similar question about hash (dictionaries) and lists, also there is a good piece of info h… Read more Time Complexity Of Accessing An Element In A Tuple

Time Complexity Of A Recursive Function With Two Calls

Consider this code: def count_7(lst): if len(lst) == 1: if lst[0] == 7: ret… Read more Time Complexity Of A Recursive Function With Two Calls