---
title: "#dsa articles | Hashnode"
description: "Data Structures and Algorithms. Read the latest #dsa articles and tutorials on Hashnode."
url: "https://hashnode.com/tag/dsa"
---

Tag

# #dsa

3,416 posts · 1,249 followers

[Abhishek V](https://hashnode.com/@abhishek-vedant) · [2d ago](https://hashnode.com/posts/valid-anagram-arrays-hashing-neetcode-250-js-ts/6afadf97c5882f39dadfe835)

### [Valid Anagram || Arrays & Hashing || Neetcode 250 || JS/TS](https://webbyjournal.hashnode.dev/valid-anagram-arrays-hashing-neetcode-250-js-ts?utm_source=hashnode&utm_medium=feed)

Valid Anagram coding problem, a quick sorting approach and an optimal O(n) frequency-counting solution using Maps.

3 min read · [webbyjournal.hashnode.dev](https://webbyjournal.hashnode.dev/valid-anagram-arrays-hashing-neetcode-250-js-ts?utm_source=hashnode&utm_medium=feed)

[Abhishek V](https://hashnode.com/@abhishek-vedant) · [2d ago](https://hashnode.com/posts/contains-duplicate-arrays-hashing-neetcode-250-js-ts/6afa95a7f0662b7303808f86)

### [Contains Duplicate || Arrays & Hashing || Neetcode 250 || JS/TS](https://webbyjournal.hashnode.dev/contains-duplicate-arrays-hashing-neetcode-250-js-ts?utm_source=hashnode&utm_medium=feed)

Learn three ways to solve the "Contains Duplicate" from simple brute force to fast, efficient solutions using Sets and early exit optimization.

3 min read · [webbyjournal.hashnode.dev](https://webbyjournal.hashnode.dev/contains-duplicate-arrays-hashing-neetcode-250-js-ts?utm_source=hashnode&utm_medium=feed)

[Abhishek V](https://hashnode.com/@abhishek-vedant) · [4d ago](https://hashnode.com/posts/concatenation-of-array-arrays-hashing-neetcode-250-js-ts/6af840dd536ac02b9ec73a70)

### [Concatenation of Array || Arrays & Hashing || Neetcode 250 || JS/TS](https://webbyjournal.hashnode.dev/concatenation-of-array-arrays-hashing-neetcode-250-js-ts?utm_source=hashnode&utm_medium=feed)

Part 1 of my NeetCode 250 JS/TS series: a beginner-friendly breakdown of Concatenation of Array, from loops to a one-liner.

3 min read · [webbyjournal.hashnode.dev](https://webbyjournal.hashnode.dev/concatenation-of-array-arrays-hashing-neetcode-250-js-ts?utm_source=hashnode&utm_medium=feed)

[Niranjan](https://hashnode.com/@niranjansatish) · [4d ago](https://hashnode.com/posts/binary-search-no-memorizing-no-crying-1/6af72886314439d6f61372e3)

### [Binary Search: No Memorizing, No Crying - 1](https://beyondthesyntax.hashnode.dev/binary-search-no-memorizing-no-crying-1?utm_source=hashnode&utm_medium=feed)

Element & Boundary Search: why <= and < are both right

26 min read · [beyondthesyntax.hashnode.dev](https://beyondthesyntax.hashnode.dev/binary-search-no-memorizing-no-crying-1?utm_source=hashnode&utm_medium=feed)

[Mayank Mahajan](https://hashnode.com/@Mayank9056) · [Nov 6](https://hashnode.com/posts/stop-solving-array-problems-randomly-5-patterns-every-developer-should-know/6aedac9c062c45f442ef190e)

### [Stop Solving Array Problems Randomly: 5 Patterns Every Developer Should Know](https://mayankdev.hashnode.dev/stop-solving-array-problems-randomly-5-patterns-every-developer-should-know?utm_source=hashnode&utm_medium=feed)

A practical guide to Two Pointers, Sliding Window, Prefix Sum, Kadane's Algorithm, and how to recognize the right pattern before writing code

12 min read · [mayankdev.hashnode.dev](https://mayankdev.hashnode.dev/stop-solving-array-problems-randomly-5-patterns-every-developer-should-know?utm_source=hashnode&utm_medium=feed)

[Gowtham Muthuvel](https://hashnode.com/@GowthamMuthuvel) · [Oct 27](https://hashnode.com/posts/java-comparator-a-minus-b-overflow-bug/6ae06f18fe43b5b6b39e8cc2)

### [Why (a, b) -> a - b Is a Bug in Java Comparators](https://gowthammuthuvel.hashnode.dev/java-comparator-a-minus-b-overflow-bug?utm_source=hashnode&utm_medium=feed)

a - b comparators overflow and silently mis-sort lists and heaps. Real Java output, the long/double cast traps, and the one-line fixes.

8 min read · [gowthammuthuvel.hashnode.dev](https://gowthammuthuvel.hashnode.dev/java-comparator-a-minus-b-overflow-bug?utm_source=hashnode&utm_medium=feed)

[Manikandan S](https://hashnode.com/@manikandan4411) · [Oct 23](https://hashnode.com/posts/treemap-in-java/6adade0aa8cc02e9309bf8f8)

### [TreeMap in Java](https://manikandan4411.hashnode.dev/treemap-in-java?utm_source=hashnode&utm_medium=feed)

Author by Manikandan S - 23rd October 2026

6 min read · [manikandan4411.hashnode.dev](https://manikandan4411.hashnode.dev/treemap-in-java?utm_source=hashnode&utm_medium=feed)

[Manikandan S](https://hashnode.com/@manikandan4411) · [Oct 21](https://hashnode.com/posts/linkedhashmap-in-java/6ad83a2c9d113e0cb5f9f2ea)

### [LinkedHashMap in Java](https://manikandan4411.hashnode.dev/linkedhashmap-in-java?utm_source=hashnode&utm_medium=feed)

Author by Manikandan S - 21st October 2026

5 min read · [manikandan4411.hashnode.dev](https://manikandan4411.hashnode.dev/linkedhashmap-in-java?utm_source=hashnode&utm_medium=feed)

[swayanprabha](https://hashnode.com/@swayan) · [Oct 20](https://hashnode.com/posts/binary-search/6ad7405ce311ba6d058b8942)

### [Stop Thinking Binary Search Is Only for Searching 🔍](https://dsadiscuss.hashnode.dev/binary-search?utm_source=hashnode&utm_medium=feed)

It’s a way of asking the right questions and making the right choice.

7 min read · [dsadiscuss.hashnode.dev](https://dsadiscuss.hashnode.dev/binary-search?utm_source=hashnode&utm_medium=feed)

[Manikandan S](https://hashnode.com/@manikandan4411) · [Oct 19](https://hashnode.com/posts/hashmap-in-java/6ad5749bfa914cb9fdfac30b)

### [HashMap in Java](https://manikandan4411.hashnode.dev/hashmap-in-java?utm_source=hashnode&utm_medium=feed)

Author by Manikandan S - 19th October 2026

6 min read · [manikandan4411.hashnode.dev](https://manikandan4411.hashnode.dev/hashmap-in-java?utm_source=hashnode&utm_medium=feed)
