Comprehensive, multi-part guides exploring concepts in depth.
Five beginner array problems solved in JavaScript, each with a brute-force and a better approach — Part 2 of the Data Structures & Algorithms series.
Himanshu Bhatt · 2 min read · Oct 7, 2026

A step-by-step guide to reducing an ER diagram to relational tables: strong entities, composite and multi-valued attributes, every cardinality ratio, participation constraints, and weak entity sets — each rule shown as an ER-to-table conversion diagram.
Himanshu Bhatt · 7 min read · Oct 2, 2026

Attributes are the properties that describe an entity. Learn the six types of attributes in an ER diagram — simple, composite, single-valued, multi-valued, derived, and key — with the exact Chen notation and clear Student examples.
Himanshu Bhatt · 3 min read · Oct 2, 2026

A participation constraint sets the minimum number of relationships an entity must take part in. Learn total vs partial participation, how they map to minimum cardinality, and how to read them in an ER diagram.
Himanshu Bhatt · 2 min read · Oct 1, 2026

A cardinality constraint sets the maximum number of entities that can take part in a relationship. Here are the four types — 1:1, 1:N, M:1, and M:N — each with a diagram and a real example.
Himanshu Bhatt · 2 min read · Oct 1, 2026

TCP guarantees your data arrives, in order; UDP just fires it off and hopes. Here's how the two transport protocols differ, what uses each, and why it changes the way you debug.
Himanshu Bhatt · 4 min read · Oct 1, 2026

The OSI model teaches the theory; the TCP/IP model is what the internet actually runs on. The same data flow in 4 layers, how they map to OSI’s 7, and the same encapsulation example.
Himanshu Bhatt · 2 min read · Sep 30, 2026

Follow one message from machine to machine across the internet. The 7 OSI layers, what each one does, and exactly what header gets added (encapsulation) and removed (decapsulation) at every layer.
Himanshu Bhatt · 3 min read · Sep 30, 2026

An IP identifies a machine; a port identifies an app on it. Public vs private IPs, NAT, common ports, and why localhost vs 0.0.0.0 decides if your cloud server is reachable.
Himanshu Bhatt · 4 min read · Sep 30, 2026

You type a URL and press Enter. Follow that single request through DNS, ports, the TCP handshake, TLS, and HTTP — all the way to the server and back.
Himanshu Bhatt · 3 min read · Sep 29, 2026

Every connection is three boxes — client, network, server. Learn DNS, IPs and ports, TCP vs UDP, and the dig → ping → nc → curl order you use to debug them.
Himanshu Bhatt · 4 min read · Sep 29, 2026

Six classic star and number pattern problems, solved in JavaScript — Part 1 of the Data Structures & Algorithms series.
Himanshu Bhatt · 1 min read · Sep 27, 2026
