DSA & Algorithms
105 articles in this topic
Randomized Algorithms Explained: Las Vegas, Monte Carlo and a Worked Quicksort Trace
Learn what random choices change in an algorithm, then trace randomized quicksort and calculate its expected comparisons and repeated-trial error.
Algorithm Analysis Basics: Operation Counts, Growth Rates and Worked Examples
Learn to choose an input size, count operations exactly, simplify the result with asymptotic notation, and avoid common time and space analysis mistakes.
Backtracking Technique: Concepts, Two Worked Examples and Exam Patterns
Trace 4-Queens and subset sum step by step, prove safe pruning rules, and avoid common backtracking errors.
Fast Fourier Transform (FFT): Polynomial Multiplication, Convolution and Signal Processing
Connect roots of unity, polynomial products and signal convolution through one complete four-point FFT example, including butterflies and inverse recovery.
Branch and Bound Explained: Bounds, Pruning and Worked Examples
Learn how Branch and Bound chooses live nodes and proves optimality. Follow a best-bound knapsack trace and a smaller assignment-cost example step by step.
Approximation Algorithms Explained: Ratios, Vertex Cover and a Worked 2-Approximation
Learn what an approximation guarantee means, how ratios differ for minimisation and maximisation, and why a simple Vertex Cover algorithm has a tight factor of 2.
Algebraic Computation: Polynomial Multiplication, DFT and Strassen's Algorithm
Learn how representation cuts arithmetic work through one exact convolution, a four-point DFT pipeline, and a fully checked Strassen matrix product.
Algorithm for GATE: An 8-Week Topic-by-Topic Study Plan
Follow a dependency-aware eight-week Algorithm plan with nine focused hours each week, worked examples, delayed reattempts, and a practical rule for missed sessions.
Physical Security and Cryptography Basics: Controls, Ciphers and Worked Examples
Connect physical and logical security through Lab L-07. Learn layered controls, calculate residual risk, trace XOR, compare SHA-256 outputs and choose the right primitive.
Array Data Structure: Memory Layout, Operations and Worked Examples
Understand how arrays map indices to memory, then practise address calculation, exact shift counts, searching and dynamic-array growth with worked examples.
Tree Data Structure: Types, Traversals and a Worked BST Example
Build one nine-node binary search tree, classify its shape, trace four traversals, and work through insertion, search, deletion and complexity checks.
Graphs in Data Structures: Complete Guide with BFS, DFS and Dijkstra Worked Examples
Learn graph terminology, representations and algorithm selection by tracing one unweighted graph with BFS and DFS, then solving a weighted graph with Dijkstra.













