python/docs/stdlib/data_types/collections

collections

dz / python / docs / stdlib / data_types / collections

Node Tree

Nodes

counter
content Counter()
parents leetcode/problems/242_valid_anagram, leetcode/data_structures/hash_table, python/docs/stdlib/data_types/collections
hyperlink https://docs.python.org/3/library/collections.html#collections.Counter
location knowledge/python.dz:163

defaultdict
content defaultdict
children leetcode/problems/1466_reorder_routes_to_city_zero (having a defaultdict with a list was a very useful abstract for building an adjacency list)
parents python/docs/stdtypes/mapping_types
hyperlink https://docs.python.org/3/library/collections.html#collections.defaultdict
location knowledge/python.dz:320