Step by step from typing a URL to seeing the page: cache, DNS, TCP and TLS handshakes, the HTTP request, the server side, and rendering.
Interview Insights and Technical Explorations
Step by step from typing a URL to seeing the page: cache, DNS, TCP and TLS handshakes, the HTTP request, the server side, and rendering.
Atomicity, consistency, isolation and durability explained with a bank transfer, plus isolation levels and the read anomalies they prevent.
Database normalisation explained with one table taken from unnormalised to 1NF, 2NF and 3NF, plus BCNF and when to denormalise.
INNER, LEFT, RIGHT and FULL OUTER JOIN explained with two small tables and their exact output, plus how to find rows with no match.
Checked versus unchecked exceptions in Java: the compiler rule, the class hierarchy, examples of each, when to write a custom exception, and common mistakes.
Abstract class versus interface in Java: state, constructors, multiple inheritance, default and static methods since Java 8, and when to choose each.
Encapsulation, abstraction, inheritance and polymorphism explained with one realistic payment-module example instead of animals and shapes, plus how to map them to your own project.
Find the first character that appears only once in a string, in two passes with a count array or LinkedHashMap, with complexity and edge cases.
Check whether two strings are anagrams with a 26-count array in O(n), the sorting approach, a HashMap for Unicode, and how to ignore spaces and case.
Find the second largest element of an array in a single pass, handling duplicates, negative numbers and arrays with fewer than two distinct values.