Coding & Skills
369 articles in this topic

Storage Classes in C: auto, register, static and extern with Examples
Learn what auto, register, static and extern actually control in C. Trace persistent and fresh objects, then connect two source files without creating duplicate state.

JavaScript Event Loop Tutorial: Trace Tasks, Microtasks, and Timers
Learn the browser event loop by tracing two runnable examples, then use the same task and microtask rules to predict timers, Promises, and await.

DOM Manipulation in JavaScript: Build an Interactive Study Planner
Build a study planner while learning to select nodes, update safe content, delegate clicks, add tasks, and verify every visible total.

Python Collections and Strings: Complete Guide with a Worked Word Counter
Choose the right built-in Python container, trace aliases and slices correctly, and combine all five types in a worked word-counting pipeline.

Counting Spanning Trees for GATE: Cayley's Formula and Deletion-Contraction, Worked
Learn when Cayley's formula applies, how deletion-contraction handles a non-complete graph, and how a Laplacian cofactor checks the answer.

Abstract Class in OOP: How Incomplete Classes Define Interfaces, with a Worked Example
See why an abstract class is intentionally incomplete, then trace a Java-like Shape example through subclass completion, reusable methods and runtime dispatch.

C++ const, constexpr and consteval: Runtime Immutability vs Compile-Time Guarantees
See exactly what each C++ keyword guarantees. One C++20 program separates immutability, optional constant evaluation and mandatory constant evaluation.

Minimax Search Algorithm: Two Worked Game Trees, an Alpha-Beta Trace and Exam Traps
Learn minimax from one fixed payoff perspective, then work through a full game tree, a cutoff example, and the exact alpha-beta cutoffs for a left-to-right visit.

Pointers and Functions in C: Runnable Examples from Swap to Callbacks
Follow one object-and-address model through pointer parameters, arrays, returned pointers, callbacks, and a compact exam trace. Each result is worked out before it is run.

JavaScript Callbacks: Synchronous, Async and Error-First Examples
Learn why some callbacks run now and others run later. Trace arrays and timers, then build a safe error-first quiz workflow with exact outputs.

JavaScript Basics: Variables, Functions, Arrays and DOM
Learn the language rules behind JavaScript output questions, then follow one complete example from an array of scores to visible DOM nodes.

Loops in Python: for, while, range(), break and continue
Learn to predict Python loop output one pass at a time, choose the right loop, and avoid boundary, update, and list-modification errors.