Coding & Skills

391 articles in this topic

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.

Updated 4 Aug 20265 min readJava

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.

Updated 4 Aug 20266 min readPython

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.

Updated 3 Aug 20267 min readDSA & Algorithms

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.

Updated 3 Aug 20266 min readProgramming Languages Survey

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.

Updated 3 Aug 20267 min readC++

Artificial Neural Networks: Complete Guide with Worked Examples for GATE and Interviews

Turn ANN diagrams into numbers. Work through a neuron, activation derivatives, OR and XOR, one gradient update, backpropagation and parameter counts.

Updated 2 Aug 20267 min readML & Data Science

STL Overview in C++: Containers, Iterators and Algorithms with Runnable Examples

Build a practical STL mental model, then trace seven scores through sorting, searching, filtering and aggregation. The same data clarifies map, set and priority_queue choices.

Updated 2 Aug 20268 min read73 viewsC

JWT Authentication in Node.js and Express: Access Tokens, Refresh Tokens, and the Security Pitfalls That Leak Accounts

Trace a complete Express login, protected request, expiry, and refresh cycle. Then fix the token mistakes that make an apparently working system unsafe.

Updated 1 Aug 20266 min read74 viewsWeb Development

Java Coding Interview Questions: Programs Asked in Service-Company Drives

Prepare the short Java programs that recur in fresher drives. Learn the core string, array, number and collections patterns, then trace an O(n) Two-Sum solution.

Updated 1 Aug 20265 min readJava

OOP in Python: Classes, Inheritance, the MRO Diamond and Dunder Methods for Interviews

Work through Python's MRO diamond and the __eq__ plus __hash__ rule. These two examples explain many of the OOP output questions asked in interviews.

Updated 1 Aug 20265 min readPython

Python for GATE DA: Programming and Data Structures, the Output Questions to Master

Build the Python mental model that GATE DA output and complexity questions demand, with a complete aliasing trace, a structure-cost table and safe rules for common traps.

Updated 1 Aug 20265 min read89 viewsDSA & Algorithms

Language Design in Programming Languages: Syntax, Types, Scope and a Worked Evaluation

Trace one expression from source text to a value, then compare the design rules that make scope, typing, evaluation and mutation behave differently.

Updated 31 Jul 20266 min readProgramming Languages Survey