DSA & Algorithms
106 articles in this topic
MERN Stack Project Tutorial: Build an Exam-Prep App with Auth, CRUD, and Deployment
Build PrepTrack as a small but complete MERN project, with a protected answer flow, server-owned scoring, and a deployment you can explain in an interview.
Linked List Problems in Java: Reversal, Cycle Detection, and the Interview Classics Traced
Trace the pointers behind in-place reversal and Floyd's cycle algorithm, then reuse the same habits for other linked list interview problems.
HashMap and HashSet Problems in Java: Two Sum, Frequency Counting, and Deduplication Patterns
Learn when a hash lookup replaces a nested scan, then apply one reusable Java toolkit to pairs, counts, first-unique values, and duplicate detection.
Recursion in C: Stack Frames, a Hand-Tracing Method and Solved GATE Questions
Trace recursive C programs without guessing. Follow factorial returns, prints on descent and unwind, Fibonacci call counts, and maximum stack depth.
Planar Graphs and Euler's Formula for GATE: Planarity Checks, Matching and Vertex Covers Solved
Use Euler's formula and the correct planar edge bound on K4, K5 and K3,3. Then connect maximum matching to minimum vertex cover in a solved bipartite graph.
Linked List Questions for GATE: Pointer-Manipulation Patterns Solved Step by Step
Trace prev, curr and next through a complete reversal, then reuse the same discipline for middle-finding, cycle detection and safe deletion.
Left Recursion Elimination and Left Factoring for GATE: Grammar Transformation Drills
Transform immediate and indirect left recursion without losing epsilon, then left-factor a dangling-else grammar. Each change is traced and counted.
Basic Blocks, Flow Graphs and DAG Construction for GATE: Code Optimization Numericals
Partition three-address code by the leader rules, draw its control-flow graph, and construct a basic-block DAG without losing shared expressions or edges.
AVL Trees for GATE: Rotations, Height Bounds and Minimum-Node Numericals Solved
Choose LL, RR, LR or RL from the insertion path, then solve AVL height questions with the minimum-node recurrence and a consistent height convention.
Stack and Queue Implementation in Java: Arrays, Linked Lists, and the Interview Problems That Use Them
Implement stacks and circular queues in Java, trace every pointer through wrap-around, and choose the right standard collection for real code.
Sorting and Searching in Python: When to Implement the Classics and When to Use sort() and bisect
Learn when to write sorting and searching algorithms yourself, when Python's built-ins are the better choice, and how to explain the complexity of both.
How the MERN Stack Fits Together: One Request Traced from a React Click to MongoDB and Back
Follow one Enroll action through React, HTTP, Express, Mongoose, and MongoDB, then trace the JSON response back to the browser and its updated state.













