DSA-in-December

✨ Day 24: Hashmap ✨

📌 Hash table (also, hash map) is a data structure that basically maps keys to values. A hash table uses a hash function to compute an index into an array of buckets or slots, from which the corresponding value can be found.

✏️ 𝗙𝗼𝗿 𝗯𝗲𝘁𝘁𝗲𝗿 𝘂𝗻𝗱𝗲𝗿𝘀𝘁𝗮𝗻𝗱𝗶𝗻𝗴 𝗿𝗲𝗳𝗲𝗿 𝗳𝗼𝗹𝗹𝗼𝘄𝗶𝗻𝗴 𝗮𝗿𝘁𝗶𝗰𝗹𝗲𝘀 ;

  1. https://www.geeksforgeeks.org/map-vs-unordered_map-c/
  2. https://www.programiz.com/cpp-programming/unordered-map
  3. https://www.digitalocean.com/community/tutorials/hash-table-in-c-plus-plus
  4. https://aozturk.medium.com/simple-hash-map-hash-table-implementation-in-c-931965904250
  5. https://www.javatpoint.com/java-hashmap
  6. https://www.geeksforgeeks.org/java-util-hashmap-in-java-with-examples/

📽️ 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗟𝗶𝗻𝗸𝘀;

  1. https://youtu.be/0kfM_YEzR94
  2. https://youtu.be/7mUKGHznpfg
  3. https://youtu.be/AV36hu5TFRQ
  4. https://youtu.be/KwS-Vbsha1k
  5. https://youtu.be/oJx-w2CB8d4
  6. https://youtu.be/K7BTtcU0n-Q

👨‍💻 𝗤𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝗶𝗻𝗴 𝗥𝗼𝘂𝗻𝗱: 👇

  1. https://leetcode.com/problems/frequency-of-the-most-frequent-element/
  2. https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero/
  3. https://leetcode.com/problems/longest-consecutive-sequence/
  4. https://leetcode.com/problems/first-unique-character-in-a-string/
  5. https://leetcode.com/problems/k-diff-pairs-in-an-array/