Coding & Skills
374 articles in this topic

Fundamentals of Heuristic Search: A* Worked Example and Exam Traps
Learn why Greedy Best-First and A* make different choices, then trace both on one weighted graph and check heuristic properties and common traps.

Pointer Arithmetic in C: Rules, Worked Examples, and Common Errors
Understand how C pointers move across arrays, where arithmetic is valid, and why one-past pointers are useful but never readable. Includes code, traces, and common traps.

Promises in JavaScript: Chaining, Errors, and Runnable Examples
Learn what a Promise contains, predict handler order, connect values through a chain, recover from failures, and choose the right concurrency helper.

Java JDK Setup: Install, Verify and Run Your First Program
Install Java with proof that your compiler and runtime agree. This tutorial separates JDK, JRE and JVM, then traces one program from source to exact output.

Python File Handling and Data Analysis: A Complete Worked Guide
Follow one Python standard-library program from safe CSV reading and row validation to exact topic summaries, rejected-row tracking, and reproducible output files.

Circular Queue and Deque for GATE: The Full-Empty Condition Settled with a Worked Trace
Trace a size-5 circular queue through enqueue, dequeue, wraparound and rejection, then separate its pointer rules from the operations of a deque.

PHP vs Node.js: Choose by Building the Same CRUD API
Build the same BookStock API in PHP and Node.js, then compare request scheduling, validation, concurrent updates and deployment constraints.

C++ Exception Handling: Typed Errors, Stack Unwinding and Safe Recovery
Build a small C++ parser that reports machine-readable failures, recovers only from a malformed optional field, and preserves saved state when a required field fails.

Best-First Search Explained: Greedy Heuristics, a Worked Graph and Exam Traps
Trace greedy best-first search on one weighted graph, price its returned path, test the heuristic, and compare the result with uniform-cost search, A* and BFS.

Bitwise Operations in C: Operators, Masks and Worked Examples
Learn C bitwise operators by tracing one unsigned example, then use the same ideas for flags, packed fields, power-of-two checks and set-bit counting.

JavaScript Runtime Explained: Call Stack, Memory and Event Loop
Build a practical mental model of JavaScript execution. Trace values, object identity, function calls, promise microtasks and zero-delay timers through runnable examples.

Arrays in Java: Declaration, Traversal, 2D Arrays and Worked Examples
Build a correct mental model of Java arrays, then trace sums, aliases, jagged rows, sorting, binary search and common mistakes through exact examples.