Tag: map
3 posts
-
JavaScript Arrays and Objects: map/filter/reduce, Destructuring, Spread and Common Mistakes
JavaScript arrays and objects: map, filter, reduce, sorting, Object.keys/entries, destructuring, spread/rest—patterns for everyday JS code.
-
Go in 2 Weeks #02: Pointers Without Arithmetic, Slices vs std::vector, and Maps
Go pointers, slices, and maps for C++ developers: safe *T, len/cap/append, map lookup with ok, and how slices differ from std::vector.
-
C++ map vs unordered_map: Complexity, Pitfalls, and When to Use Each
map vs unordered_map: sorted red-black tree vs hash table. Complexity, range queries, the operator[] insertion pitfall, erasing while iterating, iterator invalidation, and custom key hashing.