New content added weeklyLive
Master DSA Typescript with Adaptive AI.
Master DSA Typescript across 30 topics - Foundation Data Structures, Trees & Advanced Data Structures, and Graphs & Advanced Algorithms - guided by Leyaa's adaptive intelligence.
3Parts
30Topics
343Patterns
85hEst. duration
DSA Typescript Course
3 - part learning journey
Foundation Data Structures
16 topics · 165 patterns
Trees & Advanced Data Structures
6 topics · 93 patterns
Graphs & Advanced Algorithms
8 topics · 85 patterns
✦ Course Structure
Your DSA Typescript Journey in 3 Parts
Each part builds on the last - a deliberate progression from beginner to advanced.
Part 1: Foundation Data Structures
Covers Arrays, Strings, Singly Linked List and 13 more topics.
16Topics
165Patterns
View topics
Part 2: Trees & Advanced Data Structures
Covers Binary Trees, Binary Search Tree, Heaps and Priority Queues and 3 more topics.
6Topics
93Patterns
View topics
Part 3: Graphs & Advanced Algorithms
Covers Graph Basics and Traversal, Shortest Path Algorithms, Graph Advanced and 5 more topics.
8Topics
85Patterns
View topics
Curriculum
Everything You'll Learn
Explore every topic and pattern in the course.

DSA Typescript
3 parts · 30 topics · 343 patternsPart 1: Foundation Data Structures16 topics · 165 patterns
Beginner01
Arrays
26 patterns
Why Arrays Exist and What Problem They SolveArrays vs Other Data Structures When to Choose ArraysArray Declaration and InitializationArray Traversal PatternsArray Access and Update at IndexArray Insertion at BeginningArray Insertion at Middle IndexArray Insertion at EndArray Deletion at BeginningArray Deletion at Middle IndexArray Deletion at EndArray Reversal TechniquesTwo Pointer Technique on ArraysSliding Window on ArraysPrefix Sum ArrayKadane's Algorithm Maximum SubarrayMaximum Product SubarrayArray Rotation TechniquesDutch National Flag Three Way PartitionMajority Element Moore's Voting AlgorithmNext Permutation of ArrayTrapping Rain Water ProblemSet Matrix Zeroes In PlaceSpiral Matrix TraversalMerge Two Sorted Arrays Without Extra SpaceCount Inversions in Array
02
Strings
17 patterns
Why Strings Are a Data Structure Not Just TextString Basics and Memory RepresentationHow Strings Work Differently Across LanguagesString Traversal and Character AccessString Reversal ApproachesPalindrome DetectionLongest Palindromic SubstringAnagram Check TechniquesString Pattern Matching NaiveKMP Pattern Matching AlgorithmRabin Karp String MatchingCharacter Frequency CountingLongest Common PrefixString to Integer atoiRoman to Integer ConversionSubstring Search PatternsCount and Say Problem
03
Singly Linked List
26 patterns
Why Linked List Exists and What Problem It SolvesLinked List vs Array When to Choose WhichMemory Layout Comparison Array vs Linked ListNode Structure and Pointer DesignCreating a Singly Linked List from ScratchTraversal and Printing a Linked ListInsert at Beginning Head InsertInsert at End Tail InsertInsert at Middle Specific PositionDelete Node at BeginningDelete Node at EndDelete Node at Specific PositionDelete Node by ValueRemove Nth Node from End of ListSearch for a Value in Linked ListGet Length of Linked ListReverse a Singly Linked List IterativeReverse a Singly Linked List RecursiveDetect Cycle in Linked List Floyd's AlgorithmFind Middle Element of Linked ListMerge Two Sorted Linked ListsSort a Linked List Using Merge SortAdd Two Numbers Represented as Linked ListIntersection Point of Two Linked ListsClone Linked List with Random PointerReorder Linked List
04
Doubly Linked List
11 patterns
Why Doubly Linked List Over Singly Linked ListDoubly Linked List Structure and Node DesignCreate and Initialize Doubly Linked ListTraversal Forward and BackwardInsert at Beginning of Doubly Linked ListInsert at End of Doubly Linked ListInsert at Specific Position in Doubly Linked ListDelete from Beginning of Doubly Linked ListDelete from End of Doubly Linked ListDelete by Value in Doubly Linked ListReverse a Doubly Linked List
05
Circular Linked List
8 patterns
Why Circular Linked List and Real World Use CasesCircular vs Linear Linked List Key DifferenceCreate a Circular Singly Linked ListInsert at Beginning of Circular Linked ListInsert at End of Circular Linked ListDelete a Node from Circular Linked ListTraversal of Circular Linked ListDetect if a Linked List is Circular
06
Stack Using Array
9 patterns
07
Stack Using Linked List
4 patterns
08
Stack Applications
9 patterns
09
Queue Using Array
8 patterns
10
Queue Using Linked List
3 patterns
11
Queue Variants
4 patterns
12
Hash Tables
11 patterns
Why Hash Map Exists and What Problem It SolvesHash Map vs Array vs Linked List for LookupHash Table Concept and Hash FunctionsCollision Handling Using ChainingCollision Handling Using Open Addressing Linear ProbingHashMap Implementation from ScratchTwo Sum Problem Classic Hash SolutionFrequency Counter Pattern Using Hash MapGroup Anagrams Using Hash MapFirst Non Repeating Character Using HashSubarray Sum Equals K Using Hash Map
13
Two Pointers Advanced
8 patterns
14
Intervals
5 patterns
15
Bit Manipulation
10 patterns
Why Bit Manipulation and When It Beats ArithmeticBit Manipulation Basics AND OR XOR NOT Left Right ShiftCheck if Number is Even or Odd Using BitsCheck if Number is Power of TwoCount Set Bits Brian Kernighan AlgorithmFind the Only Non Repeating Element Using XORTwo Non Repeating Elements in Array Using XORReverse Bits of a NumberSet Clear Toggle a Specific BitSubsets Generation Using Bitmask
Part 2: Trees & Advanced Data Structures6 topics · 93 patterns
Intermediate01
Binary Trees
28 patterns
Why Trees Exist and What Linked Lists and Arrays Cannot DoTree vs Array vs Linked List When Hierarchy MattersTree Terminology Root Leaf Height Depth LevelBinary Tree Node StructureCreate a Binary Tree ManuallyTree Traversal Inorder Left Root RightTree Traversal Preorder Root Left RightTree Traversal Postorder Left Right RootTree Traversal Level Order BFSZigzag Level Order TraversalRight Side View of Binary TreeLeft Side View of Binary TreeTop View of Binary TreeBottom View of Binary TreeBoundary Traversal of Binary TreeVertical Order Traversal of Binary TreeHeight of Binary TreeDiameter of Binary TreeMaximum Width of Binary TreeCount Total Nodes in Binary TreeCheck if Binary Tree is BalancedMirror a Binary TreeCheck if Two Trees are SymmetricLowest Common Ancestor in Binary TreePath Sum Root to Leaf in Binary TreeMaximum Path Sum in Binary TreeSerialize and Deserialize Binary TreeMorris Traversal Inorder Without Stack
02
Binary Search Tree
16 patterns
Why BST Over Plain Binary TreeBST vs Hash Map Trade-offs for Ordered DataBST Property and Why It MattersBST Insert OperationBST Search OperationBST Delete OperationBST Find Minimum ElementBST Find Maximum ElementBST Inorder SuccessorBST Inorder PredecessorFloor and Ceil in BSTValidate if Tree is BSTConvert Sorted Array to Balanced BSTKth Smallest Element in BSTTwo Sum in BSTBST Iterator Design
03
Heaps and Priority Queues
12 patterns
Why Heap Exists and What Sorted Array Cannot Do EfficientlyMin Heap vs Max Heap When to Use WhichHeap Concept Structure and PropertiesHeap Insert Operation Bubble UpHeap Extract Min or Max Bubble DownBuild Heap from Array HeapifyHeap Sort AlgorithmKth Largest Element Using Max HeapKth Smallest Element Using Min HeapMerge K Sorted Lists Using Min HeapTop K Frequent Elements Using HeapMedian of Data Stream Using Two Heaps
04
Tries
10 patterns
Why Trie Exists and What Hash Map Cannot Do for StringsTrie vs Hash Map for Prefix MatchingTrie Node Design and InitializationTrie Insert OperationTrie Search OperationPrefix Search Using TrieAutocomplete System with TrieWord Search in TrieCount Words with Given PrefixLongest Word in Dictionary Using Trie
05
Sorting Algorithms
12 patterns
Why Sorting Matters and How It Unlocks Other AlgorithmsComparison Based vs Non Comparison Based SortingBubble Sort AlgorithmSelection Sort AlgorithmInsertion Sort AlgorithmMerge Sort AlgorithmQuick Sort AlgorithmQuick Sort Partition Lomuto and HoareCounting Sort AlgorithmRadix Sort AlgorithmShell Sort AlgorithmSorting Stability and When to Use Which Sort
06
Binary Search
15 patterns
Why Binary Search and What Sorted Order Gives YouBinary Search vs Linear Search Real Cost DifferenceLinear Search AlgorithmBinary Search Iterative ApproachBinary Search Recursive ApproachFirst and Last Occurrence of ElementCount Occurrences of Element in Sorted ArrayFloor and Ceil in Sorted ArrayBinary Search on Answer TechniqueFind Peak Element Using Binary SearchSearch in Rotated Sorted ArrayFind Minimum in Rotated Sorted ArrayAllocate Minimum Pages Binary Search on AnswerAggressive Cows Maximum Minimum DistanceSearch in 2D Matrix
Part 3: Graphs & Advanced Algorithms8 topics · 85 patterns
Advanced01
Graph Basics and Traversal
15 patterns
Why Graphs Exist and What Trees Cannot ModelGraph vs Tree Key Structural DifferenceGraph Terminology Vertices Edges Directed Undirected WeightedAdjacency List RepresentationAdjacency Matrix RepresentationAdjacency List vs Matrix When to Choose WhichBFS Breadth First Search on GraphDFS Depth First Search on GraphNumber of Islands BFS and DFSConnected Components Using BFSCycle Detection in Undirected GraphCycle Detection in Directed GraphTopological Sort Using DFSTopological Sort Using Kahn's Algorithm BFSBipartite Graph Check
02
Shortest Path Algorithms
6 patterns
03
Graph Advanced
6 patterns
04
Recursion
9 patterns
Why Recursion Exists and What Loops Cannot Express CleanlyRecursion vs Iteration When Each WinsRecursion Concept and Call Stack VisualizationRecursion Base Case and Recursive CaseFactorial Using RecursionFibonacci Using RecursionTower of Hanoi ProblemMemoization to Optimize RecursionRecursion on Arrays and Strings
05
Backtracking
10 patterns
Why Backtracking and What Greedy Cannot SolveBacktracking Concept and Decision Tree VisualizationGenerate All Subsets PowersetGenerate All Permutations of ArrayGenerate All Combinations Sum KN Queens ProblemSudoku Solver Using BacktrackingWord Search in Grid Using BacktrackingRat in a Maze ProblemPalindrome Partitioning Using Backtracking
06
Dynamic Programming
25 patterns
Why Dynamic Programming and When Recursion Alone FailsDP vs Recursion vs Greedy Choosing the Right ToolOverlapping Subproblems and Optimal SubstructureMemoization Top Down DPTabulation Bottom Up DPFibonacci Using DPClimbing Stairs Problem0 1 Knapsack ProblemUnbounded Knapsack ProblemRod Cutting ProblemPartition Equal Subset SumCoin Change Minimum CoinsCoin Change Total Number of WaysLongest Common SubsequenceLongest Common SubstringLongest Increasing SubsequenceEdit Distance Problem LevenshteinWord Break ProblemUnique Paths in Grid DPMinimum Path Sum in GridMatrix Chain MultiplicationDP on Trees Maximum Path SumDP on Trees Diameter of TreeBuy and Sell Stocks All VariantsPalindrome Partitioning DP Minimum Cuts
07
Greedy Algorithms
8 patterns
Not just a course. A learning intelligence.
Leyaa doesn't just deliver content - it understands where you are, what you need, and how to get you there fastest.
Adaptive Diagnostics
Leyaa identifies which of the 343 patterns you've mastered and which need work - before you waste time on what you already know.
Pattern-Level Precision
Every pattern gets a verdict - Learn, Practice, or Skip - so your study time goes exactly where it counts.
Intelligent Pacing
Leyaa reads your velocity across the whole course and adapts your focus list dynamically, keeping you in the optimal learning zone.
Before & After Visibility
Every assessment creates a snapshot. Retake anytime to see exactly how much you've grown - topic by topic, pattern by pattern.
Learner Autonomy
Leyaa recommends, never restricts. Override any suggestion and explore at your own pace - the system tracks everything regardless.
Clear Learning Path
Foundation Data Structures → Trees & Advanced Data Structures → Graphs & Advanced Algorithms - a structured journey where each part sets you up perfectly for the next.
DSA Typescript
Ready to master DSA Typescript?
Start your journey today
Start your diagnostic now. Build mastery across all 30 topics in under 15 minutes.
30 Topics
343 Patterns
Personalized roadmap












