Ishwar Chandra Tiwari

56 posts

Ishwar Chandra Tiwari

Ishwar Chandra Tiwari

@codewithishwar

Problem-Solving Engineer Frontend • Backend • DSA • System Design Think first. Code later. CodeWithIshwar

Katılım Aralık 2025
11 Takip Edilen6 Takipçiler
Sabitlenmiş Tweet
Ishwar Chandra Tiwari
Ishwar Chandra Tiwari@codewithishwar·
Hi 👋 I’m Ishwar. 12+ years in software engineering. I share DSA, system design, and real-world coding insights. Building CodeWithIshwar 🚀
English
0
1
6
96
Ishwar Chandra Tiwari
Ishwar Chandra Tiwari@codewithishwar·
JavaScript is single-threaded. So why do race conditions still exist? 👀 Because async JavaScript is all about execution order. Event Loop → Promises → Microtasks → Race Conditions. That’s the real game. #CodeWithIshwar #javascript #nodejs #reactjs
Ishwar Chandra Tiwari tweet media
English
0
0
1
15
Ishwar Chandra Tiwari
Ishwar Chandra Tiwari@codewithishwar·
Redis looks simple — just key-value storage. But underneath, it’s powered by smart data structures: Strings, Hashes, Lists, Sets, Sorted Sets. That’s why Redis isn’t just fast — it’s a data structure engine for real-time systems 🚀 #Redis #DSA #SystemDesign #CodeWithIshwar
Ishwar Chandra Tiwari tweet media
English
0
0
2
9
Ishwar Chandra Tiwari
Ishwar Chandra Tiwari@codewithishwar·
🧠 Thread vs Async vs Queue Not alternatives. Different answers. 🧵 Threads → parallel work ⚡ Async → don’t block 📦 Queue → do it later Real systems use all three. Scalability = choosing based on the problem. #SystemDesign #Concurrency #CodeWithIshwar
Ishwar Chandra Tiwari tweet media
English
0
0
1
5
Ishwar Chandra Tiwari
Ishwar Chandra Tiwari@codewithishwar·
I almost overcomplicated this problem. 😅 LeetCode 3546 — Equal Sum Grid Partition At first: “Try all cuts” ❌ But the trick is simple: If total sum is even → find a prefix = total / 2 That’s it. No brute force. Just clarity. #leetcode #dsa #java #programming #codewithishwar
Ishwar Chandra Tiwari tweet mediaIshwar Chandra Tiwari tweet media
English
0
0
2
6
Ishwar Chandra Tiwari
Ishwar Chandra Tiwari@codewithishwar·
Most developers solve DP wrong. They only track the best path. But sometimes… your worst path becomes your best. (-ve × -ve = +ve) That’s the trick behind LeetCode 1594. - CodeWithIshwar 🚀 #codewithIshwar
Ishwar Chandra Tiwari tweet media
English
0
0
1
2
Ishwar Chandra Tiwari
Ishwar Chandra Tiwari@codewithishwar·
Most devs overcomplicate this problem. They compare every pair → O(n²) Better way 👇 Sort the elements. Minimum absolute difference will always be between adjacent values. Simple. Clean. Efficient. Day 1 of consistency. - CodeWithIshwar 🚀 #leetcode #programming #dsa
Ishwar Chandra Tiwari tweet mediaIshwar Chandra Tiwari tweet media
English
0
0
1
8
Ishwar Chandra Tiwari
Ishwar Chandra Tiwari@codewithishwar·
Most developers get stuck not because problems are hard. They get stuck because they don’t have a system. Here’s my approach to solve any coding problem: Strong developers don’t guess. - Ishwar Chandra Tiwari | CodeWithIshwar #CodeWithIshwar #leetcode #programming #developers
Ishwar Chandra Tiwari tweet mediaIshwar Chandra Tiwari tweet media
English
0
0
1
10