algpy_src.tools.complexity_info_display.complexity_info_displaying.print_complexity_info

algpy_src.tools.complexity_info_display.complexity_info_displaying.print_complexity_info#

print_complexity_info(complexity_object, which='both')#

Print the complexity information for the complexity object.

Parameters:
  • complexity_object (ComplexityObject) – Complexity object whose complexity info to print.

  • which (str (default 'both')) – What kind of complexity info to print (one of ‘time’, ‘space’ or ‘both’).

Return type:

None