<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: rmahawewa</title>
    <description>The latest articles on DEV Community by rmahawewa (@rmahawewa).</description>
    <link>https://dev.to/rmahawewa</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1324366%2Fc8d24b58-de57-4acc-80bb-c920c5455589.png</url>
      <title>DEV Community: rmahawewa</title>
      <link>https://dev.to/rmahawewa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rmahawewa"/>
    <language>en</language>
    <item>
      <title>Few bytes of Hash Map Cake</title>
      <dc:creator>rmahawewa</dc:creator>
      <pubDate>Sat, 28 Dec 2024 00:09:02 +0000</pubDate>
      <link>https://dev.to/rmahawewa/few-bytes-of-hash-map-cake-127a</link>
      <guid>https://dev.to/rmahawewa/few-bytes-of-hash-map-cake-127a</guid>
      <description>&lt;p&gt;Special Thanks to &lt;br&gt;
&lt;a href="https://lucid.app" rel="noopener noreferrer"&gt;lucid.app&lt;/a&gt; &lt;br&gt;
&lt;a href="https://lucid.app/lucidspark/69e35664-5ba2-440b-af1d-4ede1212d488/edit?viewport_loc=17%2C-60%2C2654%2C1390%2C0_0&amp;amp;invitationId=inv_74545bae-2864-4138-baa6-ced6e824ece9" rel="noopener noreferrer"&gt;a cup cake&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hash map is a clear data structure to store daily challenges properly. This data structure has a key - value pair where we can map the value according to the key. One best way to avoid collisions is adding a linked list to each bucket&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;-when the bucket is getting full we can divide the bucket(hash code) by a number and add this inside the linked list.&lt;/p&gt;

&lt;p&gt;-There are two factors to be considered when we want to grow our bucket size. They are called Capacity and Load Factor&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Capacity&lt;br&gt;
The total number of buckets&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Load Factor&lt;br&gt;
This factor is to determine if it is a time to grow the bucket amount.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To be continued :)&lt;/p&gt;

</description>
      <category>poweredby</category>
      <category>odinproject</category>
    </item>
    <item>
      <title>JS HashMap Data Structure Powered by: lucid - https://lucid.app/ https://lucid.app/lucidspark/69e35664-5ba2-440b-af1d-4ede1212d488/edit?viewport_loc=17%2C-60%2C2653%2C1390%2C0_0&amp;invitationId=inv_74545bae-2864-4138-baa6-ced6e824ece9</title>
      <dc:creator>rmahawewa</dc:creator>
      <pubDate>Fri, 27 Dec 2024 12:13:33 +0000</pubDate>
      <link>https://dev.to/rmahawewa/js-hashmap-data-structure-powered-by-lucid-httpslucidapp-g2e</link>
      <guid>https://dev.to/rmahawewa/js-hashmap-data-structure-powered-by-lucid-httpslucidapp-g2e</guid>
      <description></description>
      <category>javascript</category>
      <category>programming</category>
      <category>algorithms</category>
    </item>
  </channel>
</rss>
