Ashutosh Kumar Tiwari·Jul 5Day 32: Why List<?> Is Different from List<Object> in Java (A Common Interview Trap)One of the biggest misconceptions among Java developers is thinking that these two declarations are equivalent:
Ashutosh Kumar Tiwari·Feb 25India’s AI Moment: What the AI Impact Summit Taught Us. 🇮🇳 AI Impact Summit 2026Last week, the AI Impact Summit took place in New Delhi, bringing together policymakers, technologists, researchers, and industry leaders…
Ashutosh Kumar Tiwari·Jan 14Covariance and Contravariance in Java Generics—Explained Without ConfusionIf you’ve worked with Java Generics long enough, you’ve definitely encountered this syntax:
Ashutosh Kumar Tiwari·Jan 8Comparable vs Comparator in Java: The Sorting Question That Never Goes AwayIf you’ve ever prepared for Java interviews — or written real-world Java code — you’ve definitely faced this question:A response icon1A response icon1
Ashutosh Kumar Tiwari·Jan 4Day 29: IdentityHashMap in Java — When == Matters More Than .equals()In Java, we are trained to believe one rule:
Ashutosh Kumar Tiwari·Dec 24, 2025Day 28: WeakHashMap in Java—How It Works with Garbage Collection (GC)Memory leaks are one of the hardest problems to detect in Java applications. Sometimes the issue isn’t complex logic—it’s simply using the…
Ashutosh Kumar Tiwari·Dec 8, 2025Day 27: How PriorityQueue Really Works in Java (And Why It’s Not What You Think)Most Java developers assume this:
Ashutosh Kumar Tiwari·Dec 4, 2025Day 26: TreeMap vs HashMap — The Real Difference Beyond Just “Sorted vs Unsorted”As Java developers, we often say: “Use HashMap for speed, TreeMap for sorting.”
Ashutosh Kumar Tiwari·Nov 25, 2025Day 25: How HashMap Works Internally — Buckets, Collisions & Resizing (A Deep Dive for Java…HashMap is everywhere — whether you’re caching API responses, storing user sessions, or performing quick lookups. But interviewers love…
Ashutosh Kumar Tiwari·Nov 20, 2025Day 24 — Why HashMap Allows One Null Key but Hashtable Doesn’t?If you’re preparing for Java interviews, this is one of those classic “simple but deep” questions. Let’s break it down in a clean…