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.

Updated 7 Sep 20266 min readC

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.

Updated 6 Sep 20265 min readWeb Development

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.

Updated 6 Sep 20265 min readJava

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.

Updated 6 Sep 20266 min read97 viewsPython

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.

Updated 6 Sep 20266 min readDSA & Algorithms

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.

Updated 6 Sep 20266 min readProgramming Languages Survey

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.

Updated 5 Sep 20266 min readC++

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.

Updated 5 Sep 20266 min read60 viewsML & Data Science

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.

Updated 5 Sep 20266 min read54 viewsC

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.

Updated 5 Sep 20266 min readWeb Development

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.

Updated 5 Sep 20265 min readJava

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.

Updated 5 Sep 20266 min readPython