Container#
- class Container#
Bases:
DataStructure
Base class for all container-like data structures which implement methods insert, search, delete.
- __init__()#
Methods
__init__
()increment_n_ops
([increment])Convenience method to increment n_ops count of the given complexity object.
Convenience method to reset n_ops count of the given complexity object.
Attributes
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
int
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
str
- rtype:
str
- abstract property average_case_delete_time_complexity: str#
- Return type:
str
- abstract property average_case_insert_time_complexity: str#
- Return type:
str
- abstract property average_case_search_time_complexity: str#
- Return type:
str
- abstract property best_case_delete_description: str#
- Return type:
str
- abstract property best_case_delete_time_complexity: str#
- Return type:
str
- abstract property best_case_insert_description: str#
- Return type:
str
- abstract property best_case_insert_time_complexity: str#
- Return type:
str
- abstract property best_case_search_description: str#
- Return type:
str
- abstract property best_case_search_time_complexity: str#
- Return type:
str
- increment_n_ops(increment=1)#
Convenience method to increment n_ops count of the given complexity object.
- Return type:
None
- property n_ops: int#
- Return type:
int
- abstract property name: str#
- Return type:
str
- reset_n_ops()#
Convenience method to reset n_ops count of the given complexity object.
- Return type:
None
- abstract property space_complexity: str#
- Return type:
str
- abstract property worst_case_delete_description: str#
- Return type:
str
- abstract property worst_case_delete_time_complexity: str#
- Return type:
str
- abstract property worst_case_insert_description: str#
- Return type:
str
- abstract property worst_case_insert_time_complexity: str#
- Return type:
str
- abstract property worst_case_search_description: str#
- Return type:
str
- abstract property worst_case_search_time_complexity: str#
- Return type:
str