Coding & Skills

364 articles in this topic

Problem Representation in AI: State Space, Worked Water-Jug Example and Exam Traps

Learn how states, operators, goals and costs turn a verbal task into a search problem. The worked water-jug trace separates valid states from reachable ones.

Updated 23 Oct 20265 min readML & Data Science

Regular Expressions in JavaScript: Match, Extract, Replace, and Validate

Learn JavaScript regex by tracing what each token consumes. Build a validator and a named-group log parser, then practise extraction, replacement, flags, and common traps.

Updated 23 Oct 20265 min readWeb Development

Polymorphism in Java: Overloading, Overriding and Runnable Examples

Learn how Java chooses overloaded methods at compile time and overridden methods at runtime. Trace two complete programs, common traps and practice targets.

Updated 22 Oct 20266 min readJava

Decorators in Python: @ Syntax, Wrappers and Worked Examples

Understand when decoration happens, what a wrapper receives, and how return values travel back. Runnable examples cover parameters, stacking and built-ins.

Updated 22 Oct 20266 min readPython

Tree Data Structure: Types, Traversals and a Worked BST Example

Build one nine-node binary search tree, classify its shape, trace four traversals, and work through insertion, search, deletion and complexity checks.

Updated 21 Oct 20266 min readDSA & Algorithms

Classes and Objects MCQs: 12 Solved OOP Questions with Explanations

Solve 12 classes and objects MCQs, check each explanation, and use a worked Java trace to separate instance state, constructors, overloading and nested classes.

20 Oct 20267 min readProgramming Languages Survey

C++ Object Lifetime and Storage Duration: Trace Construction, Destruction, and Dangling State

Learn to separate scope, storage duration, lifetime, and ownership. Trace seven objects precisely, then repair dangling pointers, references, and views.

Updated 19 Oct 20265 min readC++

Foundations and Evolution of AI: Approaches, Timeline and a Worked Rational-Agent Example

Build a connected map of AI foundations, historical shifts and major paradigms, then calculate how a rational agent chooses under uncertainty.

Updated 19 Oct 20266 min readML & Data Science

Functions and Arrow Functions in JavaScript: Syntax, Scope and Runnable Examples

Build function declarations, expressions and arrows in JavaScript, then trace parameters, closures, lexical this and array callbacks through exact outputs.

Updated 19 Oct 20266 min readWeb Development

Packages and Access Modifiers in Java: Visibility Rules with Runnable Examples

Learn how Java package boundaries change member visibility. Compile a complete example covering public, protected, package-private and private access.

Updated 18 Oct 20265 min readJava

Exceptions in Python: Handle Errors with try, except and finally

Learn how Python exceptions change control flow, how to catch expected failures without hiding bugs, and when to use else, finally, raise, and custom exceptions.

Updated 18 Oct 20265 min readPython

Graphs in Data Structures: Complete Guide with BFS, DFS and Dijkstra Worked Examples

Learn graph terminology, representations and algorithm selection by tracing one unweighted graph with BFS and DFS, then solving a weighted graph with Dijkstra.

Updated 17 Oct 20266 min readDSA & Algorithms