Skip to main content
All articles

dsa 4

2026

  1. Knuth-Morris-Pratt (KMP) in Swift: How It Works and Why It Is Worth Learning

    DSA 22 min

    Learn how KMP avoids repeated work, builds its LPS table, and performs efficient substring searches, with a clear implementation in Swift.

2025

  1. Let’s Talk About Backtracking

    DSA 8 min Also in မြန်မာ

    Backtracking is smarter brute force. Learn how to explore every valid solution with recursive pruning in Swift, starting with power sets and decision trees.

    Let’s Talk About Backtracking

    DSA 7 min Also in English

    Backtracking အကြောင့် လေ့လာကြရအောင်

  2. Let’s Talk About Recursion

    DSA 11 min Also in မြန်မာ

    Recursion from the ground up: understand base cases, call stacks, and how recursive thinking solves the Tower of Hanoi, with clear Swift code examples.

    Let’s Talk About Recursion

    DSA 10 min Also in English

    Recursion ကို base case, call stack, Tower of Hanoi ဥပမာတွေနဲ့ Swift code ကိုသုံးပြီး scratch ကနေ ရှင်းပြပေးထားပါတယ်။

  3. Let’s Talk About the Stack Data Structure

    DSA 3 min

    Stack ဆိုတာ LIFO ပုံစံ data structure ပါ။ Swift code examples တွေနဲ့ push, pop, peek operations တွေနဲ့ real-world use cases တွေကို ရှင်းလင်းချပြထားပါတယ်။