All Posts

A shop ledger page, 1899. Every line adds up.
DSA Series: Dynamic Programming (Blind 75, Java)
11 Blind 75 problems with brute force to optimal approaches, tested Java code, time/space complexity, how interviewers ask and follow-ups. State, transition, base case, memoization vs tabulation, space optimisation.
53 min read
How to Extract Structured Invoice Data with an LLM
Use schema-constrained extraction as one stage of invoice processing, then validate values and route uncertain documents for review.
2 min read
LLD Series: Design Patterns That Actually Come Up in LLD Rounds
Rule: name the pattern only after you have stated the problem it solves. Payment methods vary and I don't want if/else on type, so Strategy beats I'll use Strategy.
19 min read
DSA Series: Binary / Bit Manipulation (Blind 75, Java)
5 Blind 75 problems with brute force to optimal approaches, tested Java code, time/space complexity, how interviewers ask and follow-ups. XOR, carry arithmetic, Kernighan bit trick, DP over bits.
15 min read
How to Build a RAG System for Company Documents
Build document question-answering with access-aware retrieval, extraction quality checks, citations, and an evaluation set.
2 min read
LLD Series: OOP and SOLID (Payments Flavored)
All snippets are Java 11, compiled and run. Bad versions compile too; they are bad design, not bad syntax.
12 min read
DSA Series: Array (Blind 75, Java)
10 Blind 75 problems with brute force to optimal approaches, tested Java code, time/space complexity, how interviewers ask and follow-ups. Hash maps, prefix/suffix products, Kadane, binary search on rotated arrays, two pointers.
28 min read
How to Build an AI Chatbot for a Business Website
Learn how to build a reliable AI chatbot for a business website with grounded answers, privacy controls, escalation paths, and measurable quality checks.
3 min read
HLD Fundamentals for Beginners: Estimation, Building Blocks and a Payments Lens
A beginner-friendly system design primer: the 6-step framework, back-of-envelope QPS math, L4 vs L7 load balancing, caching, databases, queues, reliability patterns and how a payment flows end to end.
7 min read
How to Design Reliable Background Jobs for a Web Application
Move slow work out of request handlers with a queue, idempotent tasks, bounded retries, status tracking, and observability.
2 min read
DSA Patterns Roadmap for Beginners: 9 Patterns With Runnable Java
Learn DSA as a small set of patterns instead of hundreds of problems. Nine patterns, each with a trigger phrase, a Java example you can run, complexity, and where it shows up in real design problems.
8 min read
How to Manage Secrets and Environment Variables in Production
Separate configuration from code, keep credentials out of browser bundles and logs, and rotate secrets with a documented process.
2 min read
LLD Series: DSA and Java Basics for LLD Interviews: A Gentle Primer for Beginners
If your DSA base feels shaky, read this first. It explains just the data structures, Big-O, concurrency and money rules that the LLD series actually uses, with runnable Java.
8 min read
How to Migrate a Django App to Google Cloud Run
Move Django to Cloud Run by containerizing the app, externalizing state, configuring identity and database access, and planning migrations.
2 min read
LLD Series: Interview Prep Series: Start Here (DSA, HLD and LLD for Visa, Mastercard, NPCI, Amex, PayU)
Index and study plan for a DSA, HLD and LLD interview-prep series in Java for product and fintech companies, with a progress tracker and a searchable glossary for every abbreviation.
4 min read
How to Build CI/CD for a Dockerized Python API
Create a CI/CD pipeline that tests a Python API, builds an immutable container image, scans dependencies, and deploys with a rollback path.
2 min read
How to Deploy Next.js with a Separate Backend API
Deploy a Next.js frontend and a separate backend API with clear origins, secure environment variables, and consistent networking.
2 min read
How to Deploy Django on Azure for Production
Deploy Django on Azure with explicit settings, managed database connectivity, static files, health checks, and a repeatable release process.
2 min read