Coding & Skills

365 articles in this topic

Sorting Algorithms: Complete Guide with Worked Examples for GATE CS and Interviews

Build a reliable sorting toolkit for GATE CS and coding interviews. Compare six core algorithms, follow two worked traces, and learn the traps behind stability, space and pass counts.

Updated 19 Sep 20266 min read52 viewsDSA & Algorithms

Rust vs C++: Compare Safety, Control and Developer Trade-offs

Compare how Rust and modern C++ express ownership, catch lifetime mistakes, measure iterator code and define safe foreign-function boundaries.

Updated 19 Sep 20266 min readProgramming Languages Survey

C++ Iterators and Invalidation: Container Rules and Safe Erase Loops

Learn to read iterator ranges, match algorithms to categories, and mutate standard containers without using stale handles. Includes two fully traced erase examples.

Updated 18 Sep 20266 min readC++

Fuzzy Set Definitions and Operations: Formulas, Worked Example and Exam Traps

Learn how membership grades change ordinary set operations, then solve one four-element example across max-min and algebraic operator families. Includes alpha-cuts, cardinality, exam patterns and error checks.

Updated 18 Sep 20265 min readML & Data Science

Preprocessor and Macros in C: Expansion Rules and Worked Examples

Learn what happens before C compilation, expand object-like and function-like macros by hand, and avoid precedence and repeated-evaluation bugs.

Updated 18 Sep 20266 min readC

ES6+ Features in JavaScript: Runnable Tutorial and Worked Examples

Build a score report step by step while learning the modern JavaScript features that make real code easier to read, trace and debug.

Updated 18 Sep 20266 min readWeb Development

Java File I/O and NIO Tutorial: Streams, Path, Files, Channels and Buffers

Learn which Java file API to choose, then run one program that writes and reads text, archives a file, traces an 8-byte buffer, and checks exact output.

Updated 18 Sep 20266 min readJava

Python Generators and Iterators Tutorial: yield, next() and Lazy Evaluation

Build Python's iterator protocol from a three-value list, trace generators one request at a time, and practise safe one-pass pipelines with exact outputs.

Updated 18 Sep 20265 min readPython

Minimum Spanning Trees: Kruskal, Prim, Cut Property, and Worked Examples for GATE CS

Build MST intuition from first principles, trace Kruskal and Prim on the same graph, count tied MSTs, and avoid common GATE CS traps.

Updated 18 Sep 20266 min readDSA & Algorithms

Rust Tutorial for Beginners: Ownership, Types and a Text Counter

Build a small Rust text analyser and trace what the compiler sees. The example connects basic types and control flow to moves, borrows and owned results.

Updated 17 Sep 20265 min readProgramming Languages Survey

C++ Encapsulation and Class Invariants: Build Objects That Stay Valid

Learn to design a C++ BankAccount that cannot be created or changed into an invalid state. Trace constructor checks, guarded operations, representation leaks, and boundary tests.

Updated 17 Sep 20265 min readC++

Alpha-Beta Pruning Explained: Bounds, Cutoffs and a Complete Game-Tree Trace

A complete left-to-right alpha-beta trace shows how MAX and MIN update bounds, where cutoffs happen, and why move ordering changes the work without changing the minimax result.

Updated 17 Sep 20266 min read81 viewsML & Data Science