Tensorum
YouTubeகற்கத் தொடங்குங்கள்
தீர்வுகள்

LeetCode தீர்வுகள், படிப்படியாக விளக்கப்பட்டவை

நான் தீர்த்த 310 பிராப்ளம்கள் — ஒவ்வொன்றிலும் intuition, approach, என் accepted கோட், complexity, animated test cases மற்றும் line-by-line debugger.

தீர்வு விளக்கங்கள் ஆங்கிலத்தில் உள்ளன.

Array42

Hashing / Anagram

Prefix Sum

Two Pointers

Kadane

Matrix

Sorting

Cyclic Sort / Index Marking

Counting Sort

Moore Voting

Design

String18

Two Pointers

Palindrome / Expand Around Center

String Matching (KMP / Rabin-Karp)

Hashing / Frequency

Parsing / Conversion

Math

Prefix / Misc

Sliding Window

Sliding Window14

Fixed Window

Variable Window – Longest

Variable Window – Shortest / Minimum

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

Window + Hashing (Multi-word)

Monotonic Queue

Prefix / Circular Window

Binary Search20

Basics / Lower & Upper Bound

Rotated Sorted Array

Peak / Check Mid Sides

Binary Search on Answer

2D Matrix

Two Sorted Arrays / Partition

Math / Missing Numbers

Design

Linked List20

Basics

Fast & Slow Pointers

Reversal

Merge

Palindrome

Reordering / Partition

Intersection

Deep Copy / Multilevel

Design

Sorting

Arithmetic

Stack & Queue18

Parentheses / Bracket Matching

Stack Simulation / String Processing

Expression Evaluation

Stack / Queue Design

Iterator (Stack-based)

Queue Simulation

Monotonic Stack – Next / Previous Greater or Smaller

Monotonic Stack – Greedy Removal

Monotonic Stack – Contribution / Area

Tree33

Traversals (Recursive / Iterative)

DFS Basics

Root-to-Leaf Paths

BFS / Level Order

Lowest Common Ancestor / Distance

BST

Tree DP

Heap8

Top K

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

Intervals

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

Shortest Path / Floyd-Warshall

Minimum Spanning Tree

Union Find / DSU

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

LIS

Palindrome / Interval DP

DP on Squares / Matrix

Game DP

DP on Array

Top Interview 15012

Other

Hard 504