Tensorum
YouTubeশেখা শুরু করুন
সমাধান

LeetCode সমাধান, ধাপে ধাপে ব্যাখ্যা

আমার সমাধান করা 310টি প্রবলেম — প্রতিটিতে intuition, approach, আমার accepted কোড, complexity, animated test cases আর line-by-line debugger।

সমাধানের বিবরণ ইংরেজিতে।

Array42

Prefix Sum

Two Pointers

Kadane

Matrix

Sorting

Cyclic Sort / Index Marking

Counting Sort

Moore Voting

Design

String18

Palindrome / Expand Around Center

String Matching (KMP / Rabin-Karp)

Hashing / Frequency

Parsing / Conversion

Math

Prefix / Misc

Sliding Window

Sliding Window14

Variable Window – Shortest / Minimum

Counting Subarrays (Exactly K = AtMost K − AtMost K−1)

Window + Hashing (Multi-word)

Monotonic Queue

Prefix / Circular Window

Binary Search20

Peak / Check Mid Sides

2D Matrix

Two Sorted Arrays / Partition

Math / Missing Numbers

Design

Linked List20

Fast & Slow Pointers

Reversal

Palindrome

Reordering / Partition

Deep Copy / Multilevel

Design

Sorting

Arithmetic

Stack & Queue18

Stack Simulation / String Processing

Expression Evaluation

Stack / Queue Design

Iterator (Stack-based)

Monotonic Stack – Next / Previous Greater or Smaller

Monotonic Stack – Greedy Removal

Monotonic Stack – Contribution / Area

Tree33

Root-to-Leaf Paths

Lowest Common Ancestor / Distance

Heap8

Two Heaps

K-way Merge

Greedy + Heap / Scheduling

Recursion & Backtracking18

Recursion Basics

Subsets

Combinations

Permutations

Generate / Build Strings

Partitioning

Constraint Satisfaction

Grid Search / Backtracking DFS

Greedy11

Sorting + Simple Greedy

Jump / Reachability

Local Choice / Two-pass

Graph40

Graph Fundamentals / BFS

Graph Fundamentals / DFS

Graph Fundamentals / DFS + DSU

Multi-Source BFS

State-Space BFS

Bipartite / 2-Coloring

Topological Sort / DAG

State-Space / Transformation BFS

Shortest Path / Dijkstra

Minimum Spanning Tree

Bridges / Articulation Points

Shortest Path / BFS-Dijkstra

Graph Fundamentals / DFS-BFS

Dynamic Programming52

1D / Fibonacci

Kadane / Subarray DP

Grid DP

Triangle / Pascal

0/1 Knapsack / Subset Sum

Unbounded Knapsack

String DP / Word Break

Palindrome / Interval DP

DP on Squares / Matrix

Game DP

DP on Array

Top Interview 15012

Hard 504