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.

Updated 10 Sep 20265 min read61 viewsML & Data Science

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.

Updated 10 Sep 20266 min read51 viewsC

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.

Updated 9 Sep 20265 min readWeb Development

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.

Updated 9 Sep 20266 min readJava

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.

Updated 9 Sep 20265 min readPython

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.

Updated 9 Sep 20266 min readDSA & Algorithms

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.

Updated 9 Sep 20266 min readProgramming Languages Survey

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.

Updated 8 Sep 20266 min readC++

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.

Updated 8 Sep 20266 min readML & Data Science

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.

Updated 8 Sep 20265 min readC

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.

Updated 8 Sep 20265 min readWeb Development

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.

Updated 8 Sep 20266 min readJava