<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hash Set on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/hash-set/</link><description>Recent content in Hash Set on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 16 Feb 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/hash-set/index.xml" rel="self" type="application/rss+xml"/><item><title>Chapter 10: Hash Maps and Sets: Fast Lookups</title><link>https://ai-blog.noorshomelab.dev/dsa-typescript-mastery-2026/hash-maps-sets-fast-lookups/</link><pubDate>Mon, 16 Feb 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/dsa-typescript-mastery-2026/hash-maps-sets-fast-lookups/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Welcome to Chapter 10! So far, we&amp;rsquo;ve explored linear data structures like arrays, linked lists, stacks, and queues, each offering unique strengths and weaknesses regarding storage and access patterns. While arrays give us O(1) access by index and linked lists excel at O(1) insertions/deletions at specific points, searching for an &lt;em&gt;arbitrary value&lt;/em&gt; in both often requires an O(N) scan.&lt;/p&gt;
&lt;p&gt;But what if you need to find information &lt;em&gt;instantly&lt;/em&gt; based on a unique identifier, like looking up a word in a dictionary or a phone number by name? This is where &lt;strong&gt;Hash Maps&lt;/strong&gt; (also known as Hash Tables or Dictionaries) and &lt;strong&gt;Hash Sets&lt;/strong&gt; shine! These powerful data structures are designed for blazing-fast lookups, insertions, and deletions, often achieving an average time complexity of O(1) – that&amp;rsquo;s constant time, no matter how much data you have!&lt;/p&gt;</description></item></channel></rss>