Coding & Skills
372 articles in this topic

C++ std::string_view: Fast Read-Only Text APIs Without Accidental Copies
Learn when a read-only text API should take std::string_view, then trace one request parser and spot the lifetime errors that make views dangle.

Local Search in Artificial Intelligence: Hill Climbing, Traps and a Worked Example
Local search keeps little memory, yet it can settle for a poor state. Learn the five-part model, trace hill climbing, diagnose its traps and compare standard escape methods.

JavaScript map, filter and reduce Together: Build an Order Pipeline Step by Step
Follow one complete order example from raw API data to per-customer totals. See the array after map and filter, then trace every reduce accumulator.

Executor Framework in Java: Thread Pools, Futures and Runnable Examples
Separate tasks from threads, trace a two-worker pool, and learn how futures, shutdown, cancellation and bounded queues behave in Java.

CSV Files Explained: Parsing Rules, Worked Records and Exam Traps
Learn why commas and newlines are not always boundaries, trace a quote-aware parser, validate text fields with a schema, and calculate processing costs.

Shortest Path Algorithms: Dijkstra, Bellman-Ford and Floyd-Warshall with Worked Examples for GATE CS
Learn the relaxation idea behind shortest paths, trace three core algorithms by hand, and choose the right method from edge weights and source count.

C# Tutorial for Beginners: Types, Classes, LINQ and a First Console App
Build a complete C# console app around five candidate records. Learn how types, nullable references, classes, generic lists and LINQ work together, with every output and average checked by hand.

C++ stack, queue and priority_queue: Adapter Behaviour with Traced Examples
Trace the same values through std::stack, std::queue and std::priority_queue, then learn comparator tie-breaking, operation costs and safe pop patterns.

Inference Mechanisms in First Order Logic: Unification, Chaining, Resolution and Worked Proofs
See how substitutions turn First Order Logic rules into proofs. One Horn-clause example connects generalized modus ponens, forward and backward chaining, and resolution.

React State Updates: Trace Queues, Batching and Functional Setters
Follow one React counter from its captured state through replacement updates, functional updaters and a batched next render, with every queue entry traced.

Generics in Java: Type Parameters, Bounds, Wildcards and Runnable Examples
Build type-safe Java containers, then trace generic methods, upper bounds, wildcard reads and writes, invariance, erasure, and common failure cases.

Polymorphism and Dunder Methods in Python: Runnable Examples and Exercises
See how one Python operation supports different types, then build a Vector2D class with readable output, addition, magnitude and equality. Includes runnable code, protocol failures and exercises.