Coding & Skills
203 articles in this topic

C++ Arrays vs std::array vs std::span: Choose the Right Interface
Run the same five integers through raw-array, std::array and std::span interfaces, then choose from their ownership, size and lifetime contracts.

Fuzzy Systems and Inference Models: Membership Functions, Mamdani vs Sugeno, and a Worked Example
Learn how a fuzzy inference system turns crisp inputs into one useful output. Compare Mamdani, Sugeno, and Tsukamoto, then calculate a four-rule fan controller step by step.

Dynamic Memory Allocation in C: malloc, calloc, realloc and free with a Worked Example
A runnable marks example shows how C requests, initializes, grows and releases runtime storage, with checked byte counts, ownership and safe realloc handling.

JavaScript Generators Tutorial: yield, next(), and Lazy Iteration
Learn how function*, yield, next(), and yield* work through runnable traces. Build lazy ranges, bound infinite sequences, send values inward, and close generators safely.

JavaScript Strings Tutorial: Methods, Template Literals, and Runnable Examples
Learn strings from their delimiters and zero-based indexes through searching, cleaning, and coercion. Each example is runnable, including a complete input-to-key transformation.

Functions in Python: Parameters, Return Values, Scope and Examples
Build, call and debug Python functions through traced examples. Learn how arguments, local scope and return values work, then test yourself with short exercises.

DSA in Python: heapq, collections and bisect for Coding Tests
Learn which Python built-in fits heaps, frequency maps, queues and sorted searches, with traced outputs and the complexity details hidden tests expose.

JavaScript Prototypes and Inheritance: Tutorial with Runnable Examples
Understand how JavaScript finds inherited properties, shares methods, and implements constructor and class inheritance. Trace the chains, fix common mistakes, and test yourself.

C++ Classes and Objects MCQs: 11 Solved Questions on Members, Pointers and Inheritance
Work through 11 C++ classes and objects MCQs, then use the fresh explanations and fixed examples to repair mistakes in access, lifetime and inheritance rules.

Fuzzy Relations and Composition: Max-Min Concepts and a Worked Example
Learn how to read a fuzzy relation, form its inverse and alpha-cuts, and compute max-min composition cell by cell. The same matrices reveal common operator and transitivity traps.

Operator Overloading in C++: Syntax, Rules, and Worked Examples
Learn what C++ calls for an overloaded operator, then test addition, stream output, increment, and fraction comparison with exact values.

JSON in JavaScript: Parse, Stringify and Debug with Runnable Examples
Learn the boundary between JSON text and JavaScript values. Follow a complete parse, update and stringify round trip, then practise response handling and data-shape validation.