Swapnil Srivastava·22h ago[ALGO] Two Sum: Solve It Like a Kid, Then Master It Like an EngineerRemember maths class? For every problem there were two ways to the answer: the proper method, writing every step, showing your work… and…
Swapnil Srivastava·1d agoDont Fear to Share What You KnowNo one is boring — “boring” people themselves create the best blogs from their lives.
Swapnil Srivastava·Feb 10[ALGO] Sliding Window: The Only Technique You Will Never Fear Subarrays AgainImagine you are eating the world’s longest chocolate bar 1,000,000 pieces long.A response icon1A response icon1
Swapnil Srivastava·Nov 27, 2025Threading: Invented because CPUs were 10 million times faster than I/O devicesThreading was invented because CPUs were 10 million times faster than I/O devices, and we were wasting 99.9% of CPU time waiting
Swapnil Srivastava·Sep 24, 2025Object-Oriented Programming (OOP) Concepts with Python: A Quick GuideObject-Oriented Programming (OOP) is a programming paradigm that organizes software design around objects, which are instances of classes…
Swapnil Srivastava·Sep 21, 2025Evolution of PHP’s Object Oriented ProgrammingThe Early Days of PHP’s Object Model and How it evolved by time. Part 1.
Swapnil Srivastava·Sep 8, 2025A Deep Dive into PHP Performance Optimization: Caching Strategies and Best PracticesIn the modern digital landscape, application performance is a critical factor in determining the success of any web-based project. Users…
Swapnil Srivastava·Mar 31, 2025Over-Communication Is Your Secret Superpower in the Software IndustryIn the world of software engineering, the word "communication" is often underrated and overshadowed by technical prowess. However, the…
Swapnil Srivastava·Feb 23, 2025Eyes: The Birthplace of Greed and the Mother of SinI was traveling to Bengaluru and waiting at the airport for my Uber. While I stood in the ride-hailing zone, I noticed a different driver…
Swapnil Srivastava·Feb 21, 2025Study a Lot Without Worrying About MemorizationAs humans, we naturally struggle with remembering everything we read. No matter how much we study, forgetting is just as inevitable as…