---
title: "#hash-table articles | Hashnode"
description: "Explore 53 articles tagged #hash-table on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/hash-table"
---

Tag

# #hash-table

53 posts · 2 followers

[Vidit Vats](https://hashnode.com/@vidit2000) · [Jul 16](https://hashnode.com/posts/lc-167-two-sum-ii-input-array-is-sorted/6a585f1bed3a3d4bd3cfbe07)

### [LC 167 Two Sum II - Input Array Is Sorted](https://dsa-decoded.hashnode.dev/lc-167-two-sum-ii-input-array-is-sorted?utm_source=hashnode&utm_medium=feed)

Problem Statement

2 min read · [dsa-decoded.hashnode.dev](https://dsa-decoded.hashnode.dev/lc-167-two-sum-ii-input-array-is-sorted?utm_source=hashnode&utm_medium=feed)

[Prajjval](https://hashnode.com/@prajjval-14) · [May 31](https://hashnode.com/posts/hashing-explained-from-collisions-to-real-world-trade-offs/6a1c1e7899cfcad53bb2dac3)

### [Hashing Explained: From Collisions to Real-World Trade-Offs](https://prajjval.hashnode.dev/hashing-explained-from-collisions-to-real-world-trade-offs?utm_source=hashnode&utm_medium=feed)

\- Prajjval

6 min read · [prajjval.hashnode.dev](https://prajjval.hashnode.dev/hashing-explained-from-collisions-to-real-world-trade-offs?utm_source=hashnode&utm_medium=feed)

[Avinash Negi](https://hashnode.com/@avinashnegi1999) · [Feb 19](https://hashnode.com/posts/hash-tables-didnt-click-and-im-okay-with-that/6996b9486d09133789f7210e)

### [Hash Tables Didn't Click — And I'm Okay With That](https://dsawithpython.hashnode.dev/hash-tables-didnt-click-and-im-okay-with-that?utm_source=hashnode&utm_medium=feed)

Day 16 into my DSA journey, and today was the first day I sat with Hash Tables. I didn't finish it feeling confident. Every topic before this — linked lists, stacks, queues, BST — had one thing in common. Nodes. I could draw them. I could visualize t...

7 min read · [dsawithpython.hashnode.dev](https://dsawithpython.hashnode.dev/hash-tables-didnt-click-and-im-okay-with-that?utm_source=hashnode&utm_medium=feed)

[Deepak Kambala](https://hashnode.com/@deepakkambala) · [Feb 13](https://hashnode.com/posts/1-two-sum-hash-map-approach/698eced3e42289cc8d71650f)

### [1\. Two Sum Hash Map Approach](https://two-sum.hashnode.dev/1-two-sum-hash-map-approach?utm_source=hashnode&utm_medium=feed)

https://leetcode.com/problems/two-sum/description/ Core Idea While iterating: For each number n Calculate diff = target - n If diff already seen → answer found Else store current number in dictionary Code class Solution(object): def twoSu...

1 min read · [two-sum.hashnode.dev](https://two-sum.hashnode.dev/1-two-sum-hash-map-approach?utm_source=hashnode&utm_medium=feed)

[João Marcos Carniel](https://hashnode.com/@joaomarcoscarniel) · [Dec 29, 2025](https://hashnode.com/posts/reducing-time-complexity-from-on-to-on/6952a485cac47508c64df863)

### [Reducing Time Complexity From O(n²) to O(n)](https://joaodeveloper.hashnode.dev/reducing-time-complexity-from-on-to-on?utm_source=hashnode&utm_medium=feed)

Using the Two Sum exercise from LeetCode we can study how a problem can be solved with less complexity. The description of the problem is very simple: Given an array of integers nums and an integer target, return indices of the two numbers such that...

4 min read · [joaodeveloper.hashnode.dev](https://joaodeveloper.hashnode.dev/reducing-time-complexity-from-on-to-on?utm_source=hashnode&utm_medium=feed)

[Gurpreet](https://hashnode.com/@Gurppreet) · [Oct 22, 2025](https://hashnode.com/posts/the-magic-behind-instant-lookups-understanding-hashing-and-javas-hashmap/68f91833545a3802f9b114f4)

### [The Magic Behind Instant Lookups: Understanding Hashing and Java's HashMap](https://codeanddebtfreejourney.hashnode.dev/the-magic-behind-instant-lookups-understanding-hashing-and-javas-hashmap?utm_source=hashnode&utm_medium=feed)

1\. Hashing: The Core Concept Hashing is a technique used to convert a large key into a small integer value that serves as an index in an array. This array is called a Hash Table. The primary goal is to achieve near-O(1) (constant time) complexity for...

7 min read · [codeanddebtfreejourney.hashnode.dev](https://codeanddebtfreejourney.hashnode.dev/the-magic-behind-instant-lookups-understanding-hashing-and-javas-hashmap?utm_source=hashnode&utm_medium=feed)

[RedAurther](https://hashnode.com/@RedAurther) · [Aug 20, 2025](https://hashnode.com/posts/roman-to-integer-1/68a60b7ce900b1e7a379ad21)

### [Roman to Integer](https://releetcode.hashnode.dev/roman-to-integer-1?utm_source=hashnode&utm_medium=feed)

🧠 Problem Roman to Integer Roman numerals are represented by seven different symbols:Â I, V, X, L, C, D and M. For example,Â 2 is written as IIÂ in Roman numeral, just two one's added together. 12 is written asÂ XII, which is simply X + II. The numb...

1 min read · [releetcode.hashnode.dev](https://releetcode.hashnode.dev/roman-to-integer-1?utm_source=hashnode&utm_medium=feed)

[RedAurther](https://hashnode.com/@RedAurther) · [Aug 20, 2025](https://hashnode.com/posts/integer-to-roman/68a60b76b53da53adb83763b)

### [Integer to Roman](https://releetcode.hashnode.dev/integer-to-roman?utm_source=hashnode&utm_medium=feed)

🧠 Problem Integer to Roman Roman numerals are represented by seven different symbols:Â I, V, X, L, C, D and M. For example,Â 2 is written as IIÂ in Roman numeral, just two one's added together. 12 is written asÂ XII, which is simply X + II. The numb...

1 min read · [releetcode.hashnode.dev](https://releetcode.hashnode.dev/integer-to-roman?utm_source=hashnode&utm_medium=feed)

[RedAurther](https://hashnode.com/@RedAurther) · [Aug 1, 2025](https://hashnode.com/posts/longest-substring-without-repeating-characters-1-1-1/688d2039e19bf0df5e7f3175)

### [Longest Substring Without Repeating Characters](https://releetcode.hashnode.dev/longest-substring-without-repeating-characters-1-1-1?utm_source=hashnode&utm_medium=feed)

🧠 Problem Longest Substring Without Repeating Characters $('TopicExtraction').first().json.dataforblog\['Question Text'\] 🏷️ Tags hash table, string, sliding window 📊 Difficulty Medium ✅ Success Rate: 33%📥 Submissions: 9,621,884📈 Accepted: 3,175,...

1 min read · [releetcode.hashnode.dev](https://releetcode.hashnode.dev/longest-substring-without-repeating-characters-1-1-1?utm_source=hashnode&utm_medium=feed)

[RedAurther](https://hashnode.com/@RedAurther) · [Aug 1, 2025](https://hashnode.com/posts/two-sum-1-2-1-1-2-1-1-1-2-1-1-1-1-1-1-1-3-1-1-1-2-1-1-1-4-9-11-1-1-1-6-4-1-4-1-3-2-2-2-3-6-1-1-1-2-3-1-1-1-2-1-1-2-1-1-1-1-1-1-1-1-1-1-1/688d202d20367cdab78f7407)

### [Two Sum](https://releetcode.hashnode.dev/two-sum-1-2-1-1-2-1-1-1-2-1-1-1-1-1-1-1-3-1-1-1-2-1-1-1-4-9-11-1-1-1-6-4-1-4-1-3-2-2-2-3-6-1-1-1-2-3-1-1-1-2-1-1-2-1-1-1-1-1-1-1-1-1-1-1?utm_source=hashnode&utm_medium=feed)

🧠 Problem Two Sum $('TopicExtraction').first().json.dataforblog\['Question Text'\] 🏷️ Tags array, hash table 📊 Difficulty Easy ✅ Success Rate: 48.5%📥 Submissions: 13,207,990📈 Accepted: 6,403,821 ❤️ Reactions 👍 Likes: 31242👎 Dislikes: 988 💡 H...

2 min read · [releetcode.hashnode.dev](https://releetcode.hashnode.dev/two-sum-1-2-1-1-2-1-1-1-2-1-1-1-1-1-1-1-3-1-1-1-2-1-1-1-4-9-11-1-1-1-6-4-1-4-1-3-2-2-2-3-6-1-1-1-2-3-1-1-1-2-1-1-2-1-1-1-1-1-1-1-1-1-1-1?utm_source=hashnode&utm_medium=feed)
