---
title: "Muhammad Umair Ullah (@umair01) | Hashnode"
description: "Turning Logic Into Impact — One Algorithm at a Time. Read the latest articles by Muhammad Umair Ullah on Hashnode."
url: "https://hashnode.com/@umair01"
---

@umair01

# Muhammad Umair Ullah

@umair01 · Joined July 2025

Turning Logic Into Impact — One Algorithm at a Time

### [Stack in Data Structures Explained with Examples, Code, and Must-Do Problems](https://stackomair.hashnode.dev/stack-in-data-structures-explained-with-examples-code-and-must-do-problems?utm_source=hashnode&utm_medium=feed)

📚 Understanding Stack in Data Structures Stacks are one of the most fundamental and powerful linear data structures in computer science. If you’ve ever used the “undo” button in Word, navigated a web browser with “back” and “forward”, or evaluated m...

4 min read · [stackomair.hashnode.dev](https://stackomair.hashnode.dev/stack-in-data-structures-explained-with-examples-code-and-must-do-problems?utm_source=hashnode&utm_medium=feed)

[Sep 11, 2025](https://hashnode.com/posts/stack-in-data-structures-explained-with-examples-code-and-must-do-problems/68c25ed0b36b9e8004dc51c7)

### [Z-Algorithm Explained with C++ Code: Fast String Pattern Matching](https://zalgoomair.hashnode.dev/z-algorithm-explained-with-c-code-fast-string-pattern-matching?utm_source=hashnode&utm_medium=feed)

🚀 Mastering Z-Algorithm: Fast String Matching Explained with C++ 📌 Problem Statement Given a text string T and a pattern string P, we want to find all occurrences of P inside T efficiently.Traditional string matching (like the brute force approach)...

3 min read · [zalgoomair.hashnode.dev](https://zalgoomair.hashnode.dev/z-algorithm-explained-with-c-code-fast-string-pattern-matching?utm_source=hashnode&utm_medium=feed)

[Aug 31, 2025](https://hashnode.com/posts/z-algorithm-explained-with-c-code-fast-string-pattern-matching/68b3f5b85f881c32f16e9cba)

### ["KMP Algorithm – The Secret Behind Efficient String Search"](https://kmpalgoomair01.hashnode.dev/kmp-algorithm-the-secret-behind-efficient-string-search?utm_source=hashnode&utm_medium=feed)

🚀 Mastering KMP (Knuth–Morris–Pratt) String Matching Algorithm 📌 Introduction When working with text processing, one of the most common problems is finding a substring (pattern) inside a larger string (text). The naive approach checks all possibil...

4 min read · [kmpalgoomair01.hashnode.dev](https://kmpalgoomair01.hashnode.dev/kmp-algorithm-the-secret-behind-efficient-string-search?utm_source=hashnode&utm_medium=feed)

[Aug 23, 2025](https://hashnode.com/posts/kmp-algorithm-the-secret-behind-efficient-string-search/68a94447b18dcc4f70e8efa2)

### [🚀 "Mastering Rabin–Karp: The Rolling Hash Trick Every C++ Coder Must Know"](https://omair01.hashnode.dev/mastering-rabinkarp-the-rolling-hash-trick-every-c-coder-must-know?utm_source=hashnode&utm_medium=feed)

Rabin-Karp Algorithm: String Matching with Rolling Hash String matching is one of the fundamental problems in Data Structures and Algorithms (DSA).Among the most famous algorithms for pattern searching is the Rabin-Karp Algorithm, which uses hashing ...

4 min read · [omair01.hashnode.dev](https://omair01.hashnode.dev/mastering-rabinkarp-the-rolling-hash-trick-every-c-coder-must-know?utm_source=hashnode&utm_medium=feed)

[Aug 21, 2025](https://hashnode.com/posts/mastering-rabinkarp-the-rolling-hash-trick-every-c-coder-must-know/68a6bc38e316b201c1e4da95)

### [Binary Search on Answers — The Hidden Weapon for Competitive Programmers](https://omairullah01.hashnode.dev/binary-search-on-answers-the-hidden-weapon-for-competitive-programmers?utm_source=hashnode&utm_medium=feed)

Binary Search on Answers — The Secret Weapon for Many Hard Problems 📌 Introduction When we think about binary search, the first thing that comes to mind is searching for a target in a sorted array. But binary search is much more powerful than that —...

5 min read · [omairullah01.hashnode.dev](https://omairullah01.hashnode.dev/binary-search-on-answers-the-hidden-weapon-for-competitive-programmers?utm_source=hashnode&utm_medium=feed)

[Aug 12, 2025](https://hashnode.com/posts/binary-search-on-answers-the-hidden-weapon-for-competitive-programmers/689ad49a2da14b237f9c0486)
