Coding & Skills

369 articles in this topic

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

Variables and Data Types in C: Declarations, Conversions and Runnable Examples

Learn how C types control stored values, expressions and I/O. Compile a complete marks program, trace its conversions and repair common type mistakes.

Updated 17 Sep 20266 min readC

Error Handling in JavaScript: try, catch, throw and Async Examples

Learn where JavaScript errors cross a boundary, then handle parsing, validation, timers and failed async work through one runnable inventory example.

Updated 17 Sep 20266 min readWeb Development

Methods in Java: Syntax, Parameters, Return Values and Examples

Build and trace a complete Java score program, then learn how arguments, return types, void methods, instance calls and overloads work.

Updated 17 Sep 20265 min read50 viewsJava

Introduction to Python: Core Concepts, Worked Trace and Exam Patterns

Build a reliable Python tracing method from names and types to loops and mutable lists. Follow one function across every iteration and check its exact output.

Updated 16 Sep 20266 min readPython

Greedy Algorithms for GATE CS: Concepts, Worked Examples, and Where Greedy Fails

Learn when a greedy choice is provably correct, trace Kruskal step by step, and use numeric counterexamples to see why the same idea fails for coin change and 0/1 knapsack.

Updated 16 Sep 20266 min readDSA & Algorithms

Kotlin vs Java for JVM Applications: A Clear Trade-off Guide

Choose between Kotlin and Java using the same Ticket #42 service example, a migration checklist, and a scorecard whose winner changes when team priorities change.

Updated 16 Sep 20266 min readProgramming Languages Survey

C++ deque, list and forward_list: Choose the Right Non-Vector Container

Use one controlled sequence-editing workload to compare deque, list and forward_list. See where search cost, iterator validity and memory locality change the decision.

Updated 16 Sep 20266 min readC++

Unsupervised Learning and Clustering Explained: K-Means Worked Example and Exam Traps

Build intuition for unlabelled data, then follow k-means from assignment to updated centroids and SSE. Compare medoids, hierarchical clustering, DBSCAN and neural representations.

Updated 15 Sep 20265 min readML & Data Science