Arturcode-with-arthur.hashnode.dev·Oct 11, 2024Mastering Hash Tables: The Key to Fast Data RetrievalIntroduction In programming, efficiency is key, and one of the most powerful tools to achieve fast data access is a hash table. Hash tables are a fundamental data structure that allows us to store and retrieve data in constant time (O(1)) on average....Discusshash table
Akshaya Biswalakshaya-biswal.hashnode.dev·Aug 16, 2024Hash TableHash tables, also known as hash maps, are a common data structure used to store key-value pairs. They are very efficient for lookups, inserts, and deletions, typically operating in O(1) time. In JavaScript, the native object can be used as a hash t...DiscussData Structures and Algorithms in JavaScriptDSA
hai nguyenhainguyen.hashnode.dev·Jun 16, 2024Understanding Consistent Hash Ring: A Simple ExplanationProblem 1: We have a set of servers and need to distribute data and requests to those servers in a manageable, uniform way. If the data size increases (or the number of requests we need to serve increases), we can add or remove servers from the clust...Discussdistributed system
Tapan Rachchhtapanrachchh.hashnode.dev·Jun 7, 2024648. Replace Wordsclass Solution: def replaceWords(self, dictionary: List[str], sentence: str) -> str: roots = set(dictionary) ans = "" cache = {} for word in sentence.split(" "): temp = "" found = False ...Discussprefix-tree
Tapan Rachchhtapanrachchh.hashnode.dev·Jun 6, 2024846. Hand of StraightsUsing simple search class Solution: def isNStraightHand(self, hand: List[int], groupSize: int) -> bool: # Check if divisible if len(hand) % groupSize != 0: return False hand.sort() # No. of gr...DiscussPython
Dmytro Svynarenkodsvynarenko.hashnode.dev·Apr 11, 2024Node.js Performance #2: Object vs MapIntro In JavaScript, two major data structures are used to store key-value pairs: Objects and Maps. Both have their unique characteristics, benefits, and use cases, but they serve the same general purpose – to store data in a key-value format. Object...Discuss·38 readsMap vs Object
Samuelcodetree3.hashnode.dev·Feb 10, 2024Hash Tables In CHash tables are a data structure that seek to solve the time complexity problem of arrays and linked lists. With arrays and linked lists, one has to traverse through the lists in order to get the particular element they are looking for. This leads to...DiscussHashing
Erik Huntercodebuff.hashnode.dev·Oct 25, 2023The Power of Hash TablesWhen I first began coding, one of the fundamental concepts that I learned was arrays. I learned various techniques for manipulating arrays, such as iteration, adding or removing elements, and accessing values using their respective indices. During my...Discuss·10 likes·36 readshash table
Gideon Batureblog.benehub.tech·Sep 11, 2023Hash Tables in C: A Beginner's GuideIntroduction Before we look at what a Hash Table is, let us look at some terms that will help us understand Hash Tables in a much better way. Hashing This is a technique used to Identify a unique/specific object from a group of similar objects. For e...Discuss·10 likes·165 readshash table
Jose Ramireznowaymyname.hashnode.dev·Aug 19, 2023Hash Tables in Java: A Detailed LookHash Tables are a cornerstone of data structures, leveraging a unique mechanism to ensure efficient data retrieval. In this comprehensive guide, we're inspecting a custom Java implementation of a Hash Table to provide a lucid understanding of its mec...DiscussJava