Coding & Skills
158 articles in this topic

Python String Methods and Formatting: Immutability, Slicing and the Interview Question Patterns
Predict string output by tracking returned values, half-open slices and formatting specifications, then avoid the replace, find, identity and concatenation traps.

Linked Lists and Trees in Python from Scratch: Node Classes, Traversals, and Interview Problems
Build linked lists and binary search trees with plain Python objects, then trace reversal, insertion, and traversal patterns that interviews repeatedly test.

JavaScript Basics: Types, Functions, Arrays and Async Code with Worked Examples
Build a reliable JavaScript mental model by tracing values, closures, arrays, object copies and queued work. A complete three-record example verifies every total.

C++ Iterators Tutorial with Examples: Traversal, Algorithms and Invalidation
Learn how C++ iterators connect containers to algorithms. Trace vector, list and map examples, then practise safe erasure and invalidation fixes.

Multi Agent Systems in AI: Concepts, Nash Equilibrium and Auctions with Worked Examples
Learn the complete MAS concept set, then compute a Nash equilibrium, a minimax choice and a Vickrey auction outcome step by step.

Conditionals in C: if, if-else, else-if and switch with runnable examples
Learn how C chooses a path through a program. Predict and trace complete examples covering conditions, ladders, logical operators, nesting and switch.

CSS Flexbox vs Grid: When to Use Each, with Real Layouts Solved Both Ways
Choose Flexbox or Grid from the dimensions of the job, not habit. See the same 1000px card layout solved both ways, then build a named page grid.

Pattern Printing Programs in C, Java and Python: One Method for Every Star and Number Pyramid
Stop memorising separate pattern programs. Learn how two row-wise decisions generate star pyramids, number triangles and their common variations in C, Java and Python.

Python Decorators and Generators: yield, Closures and the Trace-the-Output Interview Questions
See decorators and generators as functions that retain state. Trace a wrapped call, expand @repeat(3), and follow countdown(3) through StopIteration.

Binary Tree Problems in Java: Traversals, Height, and the One Recursive Template Interviews Keep Testing
Learn one Java recursion pattern for binary-tree traversals, height, node counting, and diameter. Every result is worked on the same six-node tree.

Programming Languages for GATE: C Syllabus Areas, Weightage Pattern and Prep Order
Build a bounded C preparation map, calculate topic shares from your own PYQ audit, and practise two fully worked traces before following a 14-day study order.

Abstract Classes in C++: Pure Virtual Functions, Examples and Errors
Learn why an abstract base cannot be instantiated but remains useful through pointers and references. Trace two shapes, fix override errors and practise safe polymorphism.