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.

Updated 2 Sep 20266 min readC++

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.

Updated 2 Sep 20265 min readML & Data Science

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.

Updated 2 Sep 20265 min readC

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.

Updated 2 Sep 20265 min readWeb Development

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.

Updated 2 Sep 20265 min readJava

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.

Updated 2 Sep 20265 min readPython

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.

Updated 1 Sep 20265 min readDSA & Algorithms

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.

Updated 1 Sep 20265 min readProgramming Languages Survey

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.

Updated 1 Sep 20268 min readC++

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.

Updated 31 Aug 20265 min readML & Data Science

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.

Updated 31 Aug 20266 min readC

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.

Updated 31 Aug 20266 min readWeb Development