4 ms·
Python's defaultdict is aptly named to indicate this behavior (the bare `dict` won't do this). `std::map` isn't.
by lifthrasiir 4y ago
Python's defaultdict is aptly named to indicate this behavior (the bare `dict` won't do this). `std::map` isn't.