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

Tag

# #leetcode-patterns

7 posts · 0 followers

[LilSardarX](https://hashnode.com/@lilsardarx) · [May 18, 2025](https://hashnode.com/posts/dsa-patterns-binary-search/68293472b5845438348a8df6)

### [DSA Patterns: Binary Search](https://lilsardarxcodes.hashnode.dev/dsa-patterns-binary-search?utm_source=hashnode&utm_medium=feed)

🔍 Binary Search Pattern – The Interviewer's Favorite 🧠 TL;DR - What to Focus On This guide is long — but structured. Use the Table of Contents (TOC) as your best friend to glance, skim, or jump around. Here's where to go based on your goal: ✅ Just...

20 min read · [lilsardarxcodes.hashnode.dev](https://lilsardarxcodes.hashnode.dev/dsa-patterns-binary-search?utm_source=hashnode&utm_medium=feed)

[LilSardarX](https://hashnode.com/@lilsardarx) · [May 17, 2025](https://hashnode.com/posts/dsa-patterns-linked-lists/68291f73b5845438348a8dc1)

### [DSA Patterns: Linked Lists](https://lilsardarxcodes.hashnode.dev/dsa-patterns-linked-lists?utm_source=hashnode&utm_medium=feed)

📌 TL;DR This blog is a deep dive into the most important patterns and templates used in Linked List problems — the kind that show up over and over again in coding interviews. You’ll walk away with: 📦 7 essential Linked List patterns, each tied to ...

11 min read · [lilsardarxcodes.hashnode.dev](https://lilsardarxcodes.hashnode.dev/dsa-patterns-linked-lists?utm_source=hashnode&utm_medium=feed)

[LilSardarX](https://hashnode.com/@lilsardarx) · [May 18, 2025](https://hashnode.com/posts/revision-binary-search/68293d9be7b78771885c3144)

### [Revision: Binary Search](https://lilsardarxcodes.hashnode.dev/revision-binary-search?utm_source=hashnode&utm_medium=feed)

This is a quick revision sheet for Binary Search DSA pattern.👉 Here is the link to the OG full-length post Binary Search Pattern – The Interviewer's Favorite Use this page for last-minute interview prep, fast memory refresh, or revisiting key templa...

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

[LilSardarX](https://hashnode.com/@lilsardarx) · [May 17, 2025](https://hashnode.com/posts/dsa-patterns-stack/682914b86a7dfbcf34d1910f)

### [DSA Patterns: Stack](https://lilsardarxcodes.hashnode.dev/dsa-patterns-stack?utm_source=hashnode&utm_medium=feed)

The Stack pattern is a go-to tool when you're dealing with nested structures, reverse-order processing, or problems that need memory of what came before. It’s not just a data structure — it’s a mindset. And the more problems you solve with it, the mo...

6 min read · [lilsardarxcodes.hashnode.dev](https://lilsardarxcodes.hashnode.dev/dsa-patterns-stack?utm_source=hashnode&utm_medium=feed)

[LilSardarX](https://hashnode.com/@lilsardarx) · [May 17, 2025](https://hashnode.com/posts/dsa-patterns-hashing/6829103a405b6abf34544cc9)

### [DSA Patterns: Hashing](https://lilsardarxcodes.hashnode.dev/dsa-patterns-hashing?utm_source=hashnode&utm_medium=feed)

If there’s one pattern that’s pure gold in interviews, it’s Hashing. Actually, it is more of a utility approach that helps build the foundations of a lot of optimized solutions. Hashing, from a Java perspective, means the use of HashMap and HashSet. ...

5 min read · [lilsardarxcodes.hashnode.dev](https://lilsardarxcodes.hashnode.dev/dsa-patterns-hashing?utm_source=hashnode&utm_medium=feed)

[LilSardarX](https://hashnode.com/@lilsardarx) · [May 15, 2025](https://hashnode.com/posts/two-pointers/682669782551d36c45211f55)

### [DSA Patterns: Two Pointers](https://lilsardarxcodes.hashnode.dev/two-pointers?utm_source=hashnode&utm_medium=feed)

The first pattern, and probably the most fundamental one I’ve come across, is Two Pointers. It helps convert brute-force O(n^2) solutions into clean O(n) ones — especially when you're scanning for pairs, optimizing space, or processing input in-p...

7 min read · [lilsardarxcodes.hashnode.dev](https://lilsardarxcodes.hashnode.dev/two-pointers?utm_source=hashnode&utm_medium=feed)

[LilSardarX](https://hashnode.com/@lilsardarx) · [May 15, 2025](https://hashnode.com/posts/sliding-window/6826726308a1d92baafc567b)

### [DSA Patterns: Sliding Window](https://lilsardarxcodes.hashnode.dev/sliding-window?utm_source=hashnode&utm_medium=feed)

One of the most powerful tools for working with contiguous subarrays or substrings is the Sliding Window pattern. It helps reduce brute-force O(n²) problems into clean and efficient O(n) solutions by reusing work already done in previous iterations. ...

8 min read · [lilsardarxcodes.hashnode.dev](https://lilsardarxcodes.hashnode.dev/sliding-window?utm_source=hashnode&utm_medium=feed)
