Technology
12 min read
You do not need maths to use AI well, but you do need a correct picture of what happens when you press enter. This article explains next-token prediction, training versus inference, tokens and the context window, and the practical habits each idea implies.
Technology
10 min read
AI, machine learning, deep learning, generative AI, LLM, chatbot, model, agent: the words get used as if they mean the same thing. They do not. This article draws one simple map so every later article makes sense.
Technology
12 min read
A free, 35-article course on using modern AI well: what it is, how to ask, how to check it, and how to build habits that survive the next product update. This first article explains what to expect and introduces the six-step Work Loop you will use throughout.
CourseTechnology
7 min read
A free, 35-article course on understanding and using modern AI for learning, work, coding and career growth. It teaches transferable skills, not product tours: how language models behave, how to ask and give context, how to verify answers, how to protect privacy, when to automate, and how to build your own personal AI system.
Technology
19 min read
How to prepare for campus placements and fresher hiring in India: aptitude rounds, online coding assessments with fast input and output, technical interviews, CS fundamentals, explaining trade-offs, debugging under pressure and discussing projects honestly.
Technology
18 min read
A realistic week-by-week plan for working through this course around college or a job: what to learn, implement, practise and revise each week, with timed sessions, mock interviews, a spaced-revision schedule, and lighter and more intensive alternatives.
Technology
24 min read
Build a small, complete Java project that uses many data structures together: a practice tracker with spaced-repetition reviews, undo, title autocomplete and a prerequisite-based study order. Requirements, design, milestones, test cases and extension ideas, with no paid services.
Technology
23 min read
A step-by-step routine for coding interviews: clarify, work examples, state a brute force, optimize, agree on a plan, code, test and analyze. Includes a full sample dialogue, advice on getting unstuck, and checklists you can use in mock interviews.
Technology
22 min read
What to do when prefix sums are not enough: Fenwick and segment trees for range queries with updates (optional depth), and disjoint set union with path compression and union by size for connectivity, cycles and Kruskal's algorithm (the part worth knowing).
Technology
19 min read
A trie stores words so that shared prefixes share nodes, making insert, exact search and prefix search take time proportional to the word length. Build one in Java, compare array and map nodes, and use it for autocomplete, wildcards and shortest-prefix replacement.
Technology
21 min read
Apply the six-step DP workflow to climbing stairs, house robber, grid paths and the longest common subsequence. For each: state, transition, base cases, evaluation order, complexity and why it is correct, with full tables and reconstruction.
Technology
20 min read
Dynamic programming is recursion that remembers. Learn overlapping subproblems and optimal substructure, memoization and tabulation on Fibonacci, a repeatable six-step formulation workflow, and the coin change problem that greedy cannot solve.
Technology
24 min read
When BFS is enough and when it is not, Dijkstra's algorithm with a priority queue and its non-negative-weight limit, a glance at Bellman-Ford, and topological sorting with Kahn's algorithm and DFS for dependency order, including how to detect impossible orders.
Technology
24 min read
Vertices and edges, adjacency lists versus matrices, breadth-first and depth-first search, connected components, grids as graphs, and basic cycle detection in undirected and directed graphs, with complexity in terms of V and E.
Technology
20 min read
Binary numbers, the bitwise operators and Java's signed-integer behaviour, then the reasoned uses: parity, powers of two, counting bits, XOR, masks and subsets, plus GCD, modular arithmetic, fast exponentiation and the sieve of Eratosthenes.
Technology
22 min read
When picking the best-looking option at every step is actually correct, and when it is not. Learn to justify a greedy strategy, hunt for counterexamples, and solve activity selection, merge intervals, meeting rooms and jump game.
Technology
19 min read
Answer range-sum queries in constant time with a running-total array, count subarrays with a given sum using a hash map, compute product-except-self, handle 2D regions, and apply many range updates at once with a difference array.
Technology
18 min read
Fixed-size and variable-size windows over arrays and strings, with running sums, counters and frequency maps. Learn the expand-and-shrink template, why it runs in O(n), and when negative numbers break it.