<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Surajgaikwad on Medium]]></title>
        <description><![CDATA[Stories by Surajgaikwad on Medium]]></description>
        <link>https://medium.com/@surajgaikwad2203?source=rss-eca97f239d21------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*q6Uw9Pbryfio1TQJdgsamg.jpeg</url>
            <title>Stories by Surajgaikwad on Medium</title>
            <link>https://medium.com/@surajgaikwad2203?source=rss-eca97f239d21------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 00:53:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@surajgaikwad2203/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ Snake and Ladder Game — A Complete System Design Approach]]></title>
            <link>https://medium.com/@surajgaikwad2203/snake-and-ladder-game-a-complete-system-design-approach-5070585c9ee9?source=rss-eca97f239d21------2</link>
            <guid isPermaLink="false">https://medium.com/p/5070585c9ee9</guid>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[lld]]></category>
            <category><![CDATA[low-level-design]]></category>
            <dc:creator><![CDATA[Surajgaikwad]]></dc:creator>
            <pubDate>Mon, 22 Sep 2025 15:35:12 GMT</pubDate>
            <atom:updated>2025-09-22T15:37:20.258Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>🎲 Snake and Ladder Game — A Complete System Design Approach</strong></h3><p>🔗 <strong>What is Snake and Ladder?</strong></p><p>Snake and Ladder is a classic board game where players roll a dice and move their tokens across a board of numbered cells. Landing on a ladder moves the player forward, while landing on a snake sends them backward. The first player to reach the last cell wins.</p><p>Our project implements this game in <strong>Java</strong>, supporting <strong>multiple players, dynamic boards, snakes, ladders, and undo/redo functionality</strong>, with a focus on real-world system design principles like thread safety, object-oriented design, and scalability.</p><p><strong>💡 Why Build This Game?</strong></p><p>This project is not just about simulating a board game — it’s an opportunity to <strong>design a multi-user friendly, maintainable, and modular system</strong>.</p><p>By building this, you will learn to:</p><ul><li>Apply <strong>OOP principles</strong> to a game simulation.</li><li>Handle <strong>game state updates safely</strong> (e.g., undo/redo moves).</li><li>Design a <strong>dynamic board</strong> where users can add snakes and ladders.</li><li>Implement <strong>undo/redo functionality</strong> safely.</li><li>Implement <strong>user interaction</strong> cleanly with minimal bugs.</li></ul><p><strong>🎯 Project Goal</strong></p><p>We are building a <strong>console-based Snake and Ladder game</strong> that allows:</p><ul><li>Adding multiple players.</li><li>Creating dynamic boards with <strong>snakes and ladders</strong>.</li><li>Rolling dice and handling <strong>extra turns on max dice roll</strong>.</li><li>Moving players based on dice rolls, snakes, and ladders.</li><li>Undoing and redoing moves during gameplay.</li><li>Maintaining <strong>winner sequence and ranks</strong>.</li></ul><p><strong>📌 Core Functionalities</strong></p><p><strong>👤 Player Management</strong></p><p>Each player has:</p><ul><li>A <strong>name</strong>.</li><li><strong>Current position</strong> on the board.</li><li>History of moves (for undo/redo).</li></ul><p><strong>🎲 Dice Rolling</strong></p><ul><li>Players roll a <strong>6-sided dice</strong> by pressing Enter.</li><li>Rolling the <strong>maximum value</strong> grants an extra turn.</li><li>Dice rolls are <strong>random</strong> and <strong>fair</strong>.</li></ul><p><strong>🐍 Snake and Ladder Handling</strong></p><ul><li><strong>Snakes</strong> move players backward.</li><li><strong>Ladders</strong> move players forward.</li><li>Users can <strong>add snakes and ladders dynamically</strong> during setup.</li><li>Validations ensure <strong>no invalid cells</strong> are assigned.</li></ul><p><strong>🔄 Undo / Redo Moves</strong></p><ul><li>Every move is tracked in a <strong>stack</strong>.</li><li>Players can <strong>undo or redo</strong> their last move without affecting others.</li><li>Undo/redo maintains <strong>game consistency</strong> even after reaching the last cell.</li></ul><p><strong>🏆 Winner Sequence</strong></p><ul><li>Players reaching the final cell are assigned <strong>ranks</strong>.</li><li>Other players continue playing until all players finish.</li><li>Rank list is <strong>printed at the end</strong>.</li></ul><p><strong>🏗 System Design &amp; Architecture</strong></p><p>The game follows <strong>object-oriented design best practices</strong>.</p><p><strong>Core Components:</strong></p><ul><li><strong>Game</strong> → Main logic: player turns, dice rolls, undo/redo, win sequence.</li><li><strong>Board</strong> → Represents the board with cells, snakes, and ladders.</li><li><strong>Cell</strong> → Represents a single cell with optional snake/ladder.</li><li><strong>Player</strong> → Player details and current position.</li><li><strong>Dice</strong> → Simulates dice rolls.</li><li><strong>Move</strong> → Represents a single move for undo/redo operations.</li></ul><p><strong>Class Diagram</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mbadAVL-aOnnSUWc-TeC7g.png" /></figure><p><strong>🧩 Design Decisions</strong></p><p><strong>1️⃣ Dynamic Board Setup</strong></p><ul><li>Users can define <strong>board size</strong>.</li><li><strong>Snakes and ladders</strong> can be added interactively.</li><li>Validations prevent <strong>overlapping snakes/ladders</strong> or invalid cell numbers.</li></ul><p><strong>2️⃣ Undo/Redo Functionality</strong></p><ul><li>Every move is stored in an <strong>undo stack</strong>.</li><li>Redo stack handles moves reversed by undo.</li><li>Moves are applied atomically, ensuring <strong>state consistency</strong>.</li></ul><p><strong>3️⃣ Extra Dice Roll</strong></p><ul><li>Rolling the <strong>maximum dice value</strong> grants an extra turn.</li><li>Handled without blocking other players’ turns.</li></ul><p><strong>4️⃣ Winner Sequence &amp; Rank Management</strong></p><ul><li>Players reaching the last cell are <strong>ranked</strong>.</li><li>Remaining players continue gameplay.</li><li>Winners are <strong>stored in a separate list</strong> for printing.</li></ul><p><strong>🔒 Thread Safety Considerations</strong></p><p>Although a console game is single-threaded, the design allows:</p><ul><li><strong>Safe game state updates</strong>.</li><li>Moves and board changes tracked independently.</li><li>Easy extension for <strong>multiplayer online</strong> environments with minimal changes.</li></ul><p><strong>🚀 Wrapping Up</strong></p><p>This Snake and Ladder game is <strong>more than just a simple game</strong>. It’s a practical demonstration of:</p><ul><li><strong>OOP principles</strong>.</li><li><strong>Dynamic system design</strong>.</li><li><strong>Undo/redo functionality</strong>.</li><li><strong>Scalable architecture</strong> for future enhancements like AI players, online multiplayer, or GUI support.</li></ul><p>It can be extended to:</p><ul><li>Add <strong>AI or computer players</strong>.</li><li>Store moves and boards in <strong>persistent storage</strong>.</li><li>Build a <strong>GUI version</strong> using JavaFX or Swing.</li><li>Implement <strong>online multiplayer</strong> with threads and synchronization.</li></ul><p><strong>💻 Access the Source Code on GitHub</strong></p><p>Explore the complete <strong>Snake and Ladder implementation</strong> including all classes and gameplay logic:</p><p><a href="https://github.com/imsuraj22/low-level-design-by-suraj/tree/main/Snake%20and%20Ladder">GitHub Repository — Snake and Ladder Game</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5070585c9ee9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Building a Movie Ticket Booking API with Spring Boot & PostgreSQL]]></title>
            <link>https://medium.com/@surajgaikwad2203/building-a-movie-ticket-booking-api-with-spring-boot-postgresql-1c610ec571b1?source=rss-eca97f239d21------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c610ec571b1</guid>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[lld]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <category><![CDATA[low-level-design]]></category>
            <category><![CDATA[movie-booking]]></category>
            <dc:creator><![CDATA[Surajgaikwad]]></dc:creator>
            <pubDate>Mon, 01 Sep 2025 15:50:14 GMT</pubDate>
            <atom:updated>2025-09-01T15:50:14.673Z</atom:updated>
            <content:encoded><![CDATA[<p>In this blog, we’ll walk through the design and implementation of a <strong>Movie Ticket Booking API</strong>, built using <strong>Spring Boot</strong> and backed by <strong>PostgreSQL</strong>. This project mimics the real-world functionality of platforms like BookMyShow — allowing users to search shows, book seats, and manage bookings, while ensuring <strong>consistency, user safety, and scalability</strong>.</p><p><strong>💡 Why Build This System?</strong></p><p>The goal isn’t just to create APIs — it’s about building a system that:</p><ul><li>Handles <strong>real-world constraints</strong> like preventing double-booking.</li><li>Manages <strong>complex relationships</strong> across entities like movies, theaters, halls, shows, seats, and bookings.</li><li>Ensures <strong>data consistency</strong> in a multi-user environment.</li><li>Follows <strong>clean architecture</strong> and extensible design so features like payments or loyalty points can be added later.</li></ul><p>By working on this project, you’ll strengthen your skills in:</p><ul><li>Backend development with Spring Boot.</li><li>Database schema design for relational data modeling.</li><li>Designing APIs that map cleanly to business workflows.</li></ul><p><strong>🗂 Database Design</strong></p><p>Here’s the ER diagram representing the database schema (from the image above):</p><ul><li><strong>Theater</strong> → Contains halls, each hall has seats.</li><li><strong>Movie</strong> → Represents films with title, description, duration, and price.</li><li><strong>Show</strong> → Connects movies to halls with scheduled times.</li><li><strong>Seat</strong> → Individual seat entities (row, number, label, availability).</li><li><strong>Booking</strong> → Represents a user’s ticket purchase.</li><li><strong>Booking_Seats</strong> → Junction table mapping bookings to multiple seats.</li><li><strong>Show_Seat</strong> → Tracks seat status for a specific show (AVAILABLE, BOOKED, LOCKED).</li></ul><p>This design ensures:</p><ul><li>A movie can run across multiple theaters.</li><li>Each show has independent seat availability.</li><li>Bookings can include multiple seats at once.</li></ul><p>Class Diagram:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LXb6gc4d6TqtP50BlmYeNg.png" /></figure><p><strong>⚙️ Core Functionalities</strong></p><p><strong>🎟 Seat Booking Workflow</strong></p><ol><li><strong>Search Shows</strong> → Users browse available shows for a movie.</li><li><strong>Lock Seats</strong> → Seats are temporarily reserved.</li><li><strong>Confirm Booking</strong> → Reserved seats get marked as booked, and a booking record is created.</li><li><strong>Prevent Double Booking</strong> → Seat status ensures no overlaps.</li></ol><p><strong>📑 APIs Provided</strong></p><ul><li><strong>Movies API</strong> → List/search movies.</li><li><strong>Theaters API</strong> → View theaters &amp; halls.</li><li><strong>Shows API</strong> → View shows for a movie in a hall.</li><li><strong>Hall API</strong> → Fetch Hall data.</li><li><strong>Booking API</strong> → Book one or more seats.</li></ul><p><strong>🏗 Architecture &amp; Design Decisions</strong></p><p><strong>🔹 Clean Service Layer</strong></p><ul><li>Different services handle movies, shows, users, and bookings separately.</li><li>This separation of concerns keeps the codebase clean and easier to extend.</li></ul><p><strong>🔹 Preventing Double Bookings</strong></p><ul><li>The system ensures that two users cannot book the same seat at the same time.</li><li>Seat status is updated carefully during the booking process to avoid conflicts.</li></ul><p><strong>🔹 Extensibility</strong></p><p>The system can be extended to:</p><ul><li>Add <strong>payments integration</strong> (Razorpay/Stripe).</li><li>Provide <strong>recommendations</strong> (top movies, trending theaters).</li><li>Add <strong>analytics</strong> (popular shows, occupancy rate).</li></ul><p><strong>🚀 Wrapping Up</strong></p><p>This Movie Ticket Booking API isn’t just a CRUD project — it’s designed with <strong>production-like considerations</strong>:</p><ul><li><strong>Preventing race conditions</strong> in booking.</li><li><strong>Handling multiple users safely</strong>.</li><li><strong>Extensible architecture</strong> for future growth.</li></ul><p>It can easily evolve into a fully functional system by adding authentication, payments, and analytics.</p><p>📌 <strong>Source Code:</strong> <a href="https://github.com/imsuraj22/movie_ticket_booking_API">GitHub Repo</a></p><p>🙌 If you found this useful:</p><ul><li>⭐ Star the repo</li><li>🧑‍💻 Fork &amp; build on top of it</li><li>📤 Share it with friends learning Spring Boot &amp; system design</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c610ec571b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Building a Thread-Safe, Scalable URL Shortener Service]]></title>
            <link>https://medium.com/@surajgaikwad2203/building-a-thread-safe-scalable-url-shortener-service-7d9da9529120?source=rss-eca97f239d21------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d9da9529120</guid>
            <category><![CDATA[system-design-interview]]></category>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[url-shorteners]]></category>
            <category><![CDATA[objectorientedprogramming]]></category>
            <category><![CDATA[low-level-programming]]></category>
            <dc:creator><![CDATA[Surajgaikwad]]></dc:creator>
            <pubDate>Wed, 13 Aug 2025 14:45:19 GMT</pubDate>
            <atom:updated>2025-08-13T14:45:19.514Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>🔗 What is a URL Shortener?</strong></p><p>A URL shortener is a service that takes a long, unwieldy URL and converts it into a short, unique link that redirects users to the original address.<br> It’s widely used in social media, marketing campaigns, and analytics tracking — allowing for cleaner sharing, easier memorization, and better click tracking.</p><p>Think of services like <strong>Bitly</strong> or <strong>TinyURL</strong> — our project is designed to mimic such functionality while addressing real-world system design challenges like <strong>custom aliases</strong>, <strong>collision prevention</strong>, and <strong>thread safety</strong>.</p><p><strong>💡 Why Build This System?</strong></p><p>This project is more than just creating shorter links — it’s about designing a <strong>high-performance, multi-user safe system</strong> that scales.</p><p>By building this, you’ll learn to:</p><ul><li>Apply <strong>object-oriented design</strong> to a real-world service.</li><li>Handle <strong>concurrent access</strong> safely without blocking all users.</li><li>Design for <strong>extensibility</strong> so you can easily add analytics, expiry policies, or security features later.</li><li>Manage <strong>custom aliases</strong> effectively to prevent duplicates.</li></ul><p><strong>📘 What You’ll Learn from This Blog</strong></p><p>By following this guide, you will:</p><ul><li>Understand how to structure your code for clarity and maintainability.</li><li>Learn how to prevent <strong>custom alias collisions</strong> without locking the entire service.</li><li>Design a <strong>multi-user friendly</strong> application where independent requests don’t block each other.</li></ul><p><strong>🎯 Project Goal</strong></p><p>We’re building a console-based URL Shortener that allows:</p><ul><li>Creating short URLs (either auto-generated or custom).</li><li>Handling duplicate requests gracefully.</li><li>Associating URLs with logged-in users or as guest links.</li><li>Supporting expiry dates for URLs.</li><li>Managing and viewing a user’s created URLs.</li></ul><p><strong>📌 Core Functionalities</strong></p><p><strong>👤 User Management</strong></p><p>We maintain users along with their IDs, names, and the shortened URLs they’ve created.</p><p><strong>🔗 Short URL Creation</strong></p><p>Two ways to shorten a link:</p><ol><li><strong>Custom Alias</strong> — Users can choose their own keyword (e.g., /myblog). The system ensures no two users can claim the same alias.</li><li><strong>Auto-Generated Key</strong> — A random short key is created and checked for uniqueness before being assigned.</li></ol><p><strong>🛡 Collision Prevention</strong></p><p>Our design ensures:</p><ul><li>Custom aliases are <strong>globally unique</strong>.</li><li>Auto-generated keys <strong>never collide</strong> with existing ones.</li></ul><p><strong>📅 Expiry Support</strong></p><p>Every URL can have an expiry date — useful for <strong>time-limited campaigns</strong> or temporary file sharing.</p><p><strong>🔑 Choosing the Short Key Generation Strategy</strong></p><p>For automatically generated short links, we use a <strong>Base62</strong> character set — consisting of numbers (0–9), lowercase letters (a–z), and uppercase letters (A–Z).</p><p>Why Base62?</p><ul><li>It’s URL-safe (no special characters to encode).</li><li>It packs more combinations per character compared to just numbers or lowercase letters.</li><li>It keeps the link short and easy to type.</li></ul><p>We generate <strong>6-character keys</strong>.<br> With 62 possible characters per position, the total possible combinations are:</p><p><strong>62⁶ = 56,800,235,584 ≈ 57 billion unique keys</strong></p><p>Even at <strong>1 million new links per day</strong>, it would take <strong>over 150 years</strong> to exhaust all possibilities — making 6 characters more than enough for most use cases.</p><p>If the system grows beyond that, increasing the length to 7 or 8 characters exponentially increases capacity without changing the algorithm.</p><p><strong>🏗 System Design &amp; Architecture</strong></p><p>The code follows <strong>OOP best practices</strong> — separating responsibilities into different services and models.</p><p><strong>Core Components:</strong></p><ul><li><strong>URL Entity</strong> → Represents the original link, short key, and metadata.</li><li><strong>URL Management Service</strong> → Handles creation, storage, and retrieval of shortened URLs.</li><li><strong>User Service</strong> → Manages user information and their associated URLs.</li><li><strong>Key Generator</strong> → Creates unique short keys when no custom alias is provided.</li><li><strong>Application Layer</strong> → Handles user input and output (in this version, via the console).</li></ul><p>🏛 Class Diagram</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7KDarq7IZB7DitVD" /></figure><p><strong>🧩 Design Decisions</strong></p><p><strong>1️⃣ Preventing Duplicate Aliases Without Blocking All Requests</strong></p><p>Instead of locking the entire system when checking alias availability, we:</p><ul><li>Maintain a <strong>registry</strong> of claimed aliases.</li><li>Use <strong>atomic checks</strong> so that two users cannot claim the same alias at the same time.</li><li>Allow unrelated requests to be processed in parallel.</li></ul><p><strong>Result:</strong></p><ul><li>Fast rejection if an alias already exists.</li><li>No unnecessary waiting for other users.</li></ul><p><strong>2️⃣ Collision-Free Auto Key Generation</strong></p><p>When generating keys automatically, we loop until we find one that is <strong>not already in use</strong> — ensuring every link is unique.</p><p><strong>3️⃣ User-Aware Operations</strong></p><p>If a logged-in user tries to shorten the <strong>same URL</strong> again, we simply return the <strong>existing short link</strong> instead of creating a duplicate.</p><p><strong>🔒 Thread Safety</strong></p><p><strong>Why It Matters</strong></p><p>In a multi-user environment, multiple people may try to:</p><ul><li>Create the same alias at the same time.</li><li>Generate overlapping short keys.</li></ul><p>Without protection, this could cause:</p><ul><li>Duplicate aliases.</li><li>Broken redirection links.</li></ul><p><strong>How We Solve It:</strong></p><ul><li>Alias claims are made in a way that prevents two people from claiming the same one at the same moment.</li><li>Reads and writes happen concurrently without blocking unrelated operations.</li></ul><p><strong>🚀 Wrapping Up</strong></p><p>This URL shortener isn’t just a toy project — it’s designed with <strong>production-like considerations</strong> such as custom alias uniqueness, concurrency control, and scalability.</p><p>It can easily be extended to:</p><ul><li>Add analytics (click counts, location tracking).</li><li>Support authentication &amp; authorization.</li><li>Use persistent storage like MySQL or Redis.</li><li>Implement rate limiting to prevent abuse.</li></ul><p><strong>💻 Access the Source Code on GitHub</strong></p><p>You can explore the complete implementation of the URL Shortener — including all classes, data models, and logic — directly in the GitHub repository:</p><ul><li><strong>Visit:</strong> github.com/imsuraj22/low-level-design-by-suraj/tree/main/URL Shortner<br> to browse the project files and get hands-on with the code. (<a href="https://github.com/imsuraj22/low-level-design-by-suraj/tree/main/URL%20Shortner">github.com</a>)</li></ul><p>If you want to sharpen your <strong>system design</strong> and <strong>concurrency</strong> skills, this is the perfect playground.</p><p>🙌 <strong>If you found this useful:</strong></p><ul><li>⭐ Star the repo</li><li>🧑‍💻 Fork &amp; enhance it</li><li>📤 Share it with friends learning LLD</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d9da9529120" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a Split-wise Inspired Expense Tracker (LLD + OOP)]]></title>
            <link>https://medium.com/@surajgaikwad2203/building-a-split-wise-inspired-expense-tracker-lld-oop-390b6e1d3856?source=rss-eca97f239d21------2</link>
            <guid isPermaLink="false">https://medium.com/p/390b6e1d3856</guid>
            <category><![CDATA[low-level-design]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <category><![CDATA[splitwise]]></category>
            <category><![CDATA[oop-concepts]]></category>
            <category><![CDATA[solid-principles]]></category>
            <dc:creator><![CDATA[Surajgaikwad]]></dc:creator>
            <pubDate>Tue, 29 Jul 2025 09:16:21 GMT</pubDate>
            <atom:updated>2025-07-29T09:16:21.655Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>🚀 Introduction</strong></p><p><strong>What is Split-wise?</strong><br> Split-wise is a widely used expense-sharing tool for groups like friends, roommates, or travel companions. Instead of manually tracking debts, it automates the process — recording expenses, splitting them fairly, and showing a simple summary of who owes whom. It’s particularly useful for trips or shared households where financial transparency is crucial.</p><p><strong>💡 Why Build This System?</strong></p><p>This system offers a practical way to strengthen your understanding of <strong>Low-Level Design (LLD)</strong> and <strong>Object-Oriented Programming (OOP)</strong>. It involves modeling real-world entities like users, expenses, and groups in a modular and scalable fashion.</p><p>By working on this, you’ll gain hands-on experience with:</p><ul><li>Structuring clean, maintainable codebases</li><li>Applying appropriate design patterns</li><li>Solving challenges related to shared data and multi-user interactions</li></ul><p>It’s also a great opportunity to simulate real-world system complexities such as data consistency, thread-safety, and extensibility.</p><p><strong>📘 What You’ll Learn from This Blog</strong></p><p>As you go through this guide, you’ll develop:</p><ul><li>A strong grasp of OOP principles: <strong>encapsulation, abstraction, inheritance, polymorphism</strong></li><li>The ability to apply design patterns like <strong>Strategy</strong> and <strong>Singleton</strong> in real-world use cases</li><li>LLD skills: decomposing large problems into smaller, reusable modules</li><li>An understanding of <strong>thread safety</strong> and how to handle shared data in concurrent environments</li></ul><p>Whether you’re preparing for interviews or building a real-world application, this blog is for you.</p><p><strong>🎯 Project Goal</strong></p><p>The main goal is to build a simple, console-based system that allows users to:</p><ul><li>Form groups (called <em>splits</em>)</li><li>Add shared expenses with different distribution strategies</li><li>Track individual balances within groups</li><li>Edit splits or expenses when changes occur</li><li>View who owes whom in a clean and readable format</li></ul><p><strong>📌 Core Functionalities</strong></p><p><strong>👤 User Management</strong></p><p>Create and manage individual users, each identified by a unique ID and name.</p><p><strong>🧑‍🤝‍🧑 Split Creation</strong></p><p>A <em>Split</em> represents a group — like a trip or flatmates. Users can join splits and start adding expenses.</p><p><strong>💸 Expense Management</strong></p><p>Users can add expenses using three types of splitting logic:</p><ul><li><strong>Equal:</strong> Amount is divided equally.</li><li><strong>Exact:</strong> Each person pays a specific amount.</li><li><strong>Percentage:</strong> Split based on percentages.</li></ul><p>The logic is dynamically selected using the <strong>Strategy Pattern</strong>.</p><p><strong>✏️ Editing Splits</strong></p><p>Members can be added or removed from a split, and split descriptions can be updated — ensuring flexibility for real-life scenarios. To prevent conflicts, these edits are protected using thread-safe locking.</p><p><strong>📊 Viewing Balances</strong></p><p>Displays a breakdown of who owes whom in each split — helping members settle up easily and transparently.</p><p><strong>🏗️ System Design &amp; Architecture</strong></p><p>The project is structured with core <strong>OOP principles</strong> like modularity, reusability, and separation of concerns.</p><p><strong>Class Diagram</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*af13olZUwLQiqyWN-GMY2g.png" /></figure><p><strong>🔧 Core Components</strong></p><ul><li>User: Represents each user</li><li>Split: Represents a group of users and shared expenses</li><li>Expense: Represents a single transaction</li><li>SplitType: Enum for defining split types (Equal, Exact, Percentage)</li><li>SplitStrategy: Interface to support dynamic splitting logic</li><li>EqualSplit, ExactSplit, PercentageSplit: Implementations of the strategy</li></ul><p><strong>⚙️ Services</strong></p><ul><li>UserService: Manages user creation and lookup</li><li>SplitService: Handles split creation, editing, and group operations</li><li>ExpenseService: Manages adding expenses and selecting appropriate split logic</li></ul><p><strong>🧩 Design Patterns Used</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lrtsOByUxKyj4GeqsmucCg.png" /></figure><p><strong>🔒 Locking &amp; Thread Safety</strong></p><p><strong>🧠 Why It Matters</strong></p><p>As applications evolve to support multiple users or threads, concurrent edits can lead to data corruption or inconsistent states.</p><p>Imagine two users editing the same split simultaneously — one adds a member while another removes one. Without proper synchronization, this can lead to:</p><ul><li>Lost updates</li><li>Incomplete data</li><li>Incorrect balances</li></ul><p><strong>🛡️ Our Locking Mechanism</strong></p><p>To avoid such issues, we added <strong>thread-safety using ReentrantLock</strong> in Java. This ensures that:</p><ul><li>Only one thread can modify a split at any given time</li><li>Others must wait their turn to prevent race conditions</li></ul><p>Each Split object maintains its <strong>own lock</strong>, allowing concurrent editing of different splits without interference — a design choice that balances <strong>safety and performance</strong>.</p><p><strong>📂 GitHub Repository</strong></p><p>👉 <a href="https://github.com/imsuraj22/low-level-design-by-suraj/tree/main/SplitWise%20(Expense%20Tracker)"><strong>GitHub — Split-wise LLD Project</strong></a></p><p><strong>🚀 Wrapping Up</strong></p><p>This Split-wise-inspired expense manager is more than just a fun coding project — it’s a hands-on journey into the world of low-level design, clean OOP principles, and applying design patterns in a real-world scenario. From dynamically choosing split strategies using the Strategy Pattern to ensuring thread safety with locking, the system is designed to be modular, scalable, and easy to understand.</p><p>Whether you’re preparing for system design interviews or trying to strengthen your design thinking, this project offers solid groundwork.</p><p><strong>🙌 Share and Collaborate</strong></p><p>If you found this helpful:</p><p>⭐ Star the GitHub repo</p><p>🧑‍💻 Fork and enhance it your way</p><p>📤 Share this with your friends and fellow developers</p><p>💬 Drop feedback or suggestions — collaboration helps everyone grow!</p><p>Thanks for reading — happy coding! 💻✨</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=390b6e1d3856" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thank you]]></title>
            <link>https://medium.com/@surajgaikwad2203/thank-you-ccfdbf587f08?source=rss-eca97f239d21------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccfdbf587f08</guid>
            <dc:creator><![CDATA[Surajgaikwad]]></dc:creator>
            <pubDate>Tue, 02 May 2023 18:04:31 GMT</pubDate>
            <atom:updated>2023-05-02T18:04:31.846Z</atom:updated>
            <content:encoded><![CDATA[<p>Thank you</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccfdbf587f08" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Divide and Conquer VS Dynamic Programming]]></title>
            <link>https://medium.com/@surajgaikwad2203/divide-and-conquer-vs-dynamic-programming-14a598387846?source=rss-eca97f239d21------2</link>
            <guid isPermaLink="false">https://medium.com/p/14a598387846</guid>
            <dc:creator><![CDATA[Surajgaikwad]]></dc:creator>
            <pubDate>Sun, 30 Apr 2023 05:16:22 GMT</pubDate>
            <atom:updated>2023-04-30T05:16:22.008Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, the techniques for problem-solving, Divide and Conquer vs. Dynamic Programming, are discussed. A problem is continually broken into two or more sub-problems of related or comparable kinds in a divide-and-conquer algorithm until these are sufficiently simple to be solved directly. A number of overlapping sub-problems and problems with optimal substructure characteristics in computer programming can be successfully solved with the help of the dynamic programming technique.</p><h3><strong>What is Divide &amp; Conquer?</strong></h3><p>The “divide and conquer” programming strategy divides a difficult task into smaller, more manageable tasks. The goal is to divide challenging tasks into easier ones that may be completed concurrently. By dividing the task into smaller, more manageable tasks, the complexity is reduced and it becomes easier to complete.</p><p>The following three phases make up a typical Divide and Conquer algorithm for solving a problem:</p><p><strong>Divide</strong>: This includes breaking the problem into smaller problems.</p><p><strong>Conquer</strong>: Call recursively until the sub-problem is solved.</p><p><strong>Combine</strong>: Merge the sub-problems to get at the overall problem’s final answer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oTcTq9AikMOs7V7Os3CSsw.png" /></figure><p>Example:-</p><p>The Merge Sort is an example of a Divide and Conquer algorithm. A sorting method called merge sort divides an unsorted array into two parts, sorts each part, in turn, using recursive operations, and then combines the sorted parts into a single sorted array. The Merge Sort algorithm’s time and space complexity is as follows:</p><p>Time Complexity:</p><p>Best Case: O(n log n)</p><p>Average Case: O(n log n)</p><p>Worst Case: O(n log n)</p><p>Space Complexity:</p><p>O(n)</p><p>Merge Sort is more efficient than other well-liked sorting algorithms like Bubble Sort and Insertion Sort since its time complexity is always O(n log n). This Divide and Conquer strategy allows Merge Sort to run more quickly than other sorting algorithms.</p><h3>What is dynamic programming?</h3><p>The goal of dynamic programming is to optimise a problem by taking into account the trade-offs between various strategies. The goal is to take a large problem and divide it into more manageable, smaller sub-problems. Finally, by taking into account the ideal solution for each sub-problem, you can optimise each sub-problem. The end result is a more effective solution for the entire problem.</p><p>In dynamic programming we store the solution of a subproblem and when similar sub-problem encounters then instead of computing the sub-problem we use the stored result. Memoization and tabulation are some approaches of dynamic programming to compute the solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*00-Vb9dgD8IwqsS-vBK4vg.png" /></figure><p><strong>Tabulation and Memoization</strong></p><p>There are two different ways to store the values so that the values of a sub-problem can be reused. Here, will discuss two patterns for solving dynamic programming (DP) problems:</p><p><strong>Top-down</strong></p><p><strong>Bottom-up</strong></p><p>The top-down approach is generally recursive (but less efficient) and more intuitive to implement Though it’s frequently necessary to identify the pattern in an algorithm and rework it as a dynamic programming solution</p><p>The bottom-up approach is generally iterative (and more efficient), but less intuitive and requires us to solve the smaller problems first and then use the combined values of the smaller problems for the larger solution.</p><p>We refer to top-down solutions as memoization and bottom-up as tabulation.</p><p><strong>Tabulation:</strong></p><p>In tabulation, we start solving problems from the lowest level and go to the highest level while storing the result of smaller problems by filling in the answers one by one. This approach requires less time when a sub-problems needs a particular solution which is already solved.</p><p><em>F = [] // array</em></p><p><em>FIBONACCI(n)</em></p><p><em>if F[n] == null</em></p><p><em>if n==0</em></p><p><em>F[n] = 0</em></p><p><em>else if n==1</em></p><p><em>F[n] = 1</em></p><p><em>else</em></p><p><em>F[n] = FIBONACCI(n-1) + FIBONACCI(n-2)</em></p><p><em>return F[n]</em></p><p>The above code is an example of the Fibonacci series in the Fibonacci series we add the previous 2 numbers to get a new number similar to that here we are storing numbers in the array and to generate a new one we are using (i-1) + (i-2) elements from an array.</p><p><strong>Memoization</strong></p><p>In memorization we start from a high-level sub-problem and go to the bottom sub-problem that’s why this technique is also known as the top-down approach. In this technique whenever we compute a sub-problem we store its value and when we hit a similar sub-problem then instead of computing everything once again we use the stored answer.</p><p><em>FIBONACCI(n, memo)</em></p><p><em>if n==0 || n==1</em></p><p><em>return n</em></p><p><em>if(memo[n]==0)</em></p><p><em>memo[n] = FIBONACCI(n-1,memo) + FIBONACCI(n-2,memo)</em></p><p><em>return memo[n]</em></p><p>in the above code, we are storing the answer of the sub-problem and when we hit that sub-problem again we will directly return the saved solution.</p><h3><strong>Difference between divide and conquer and Dynamic programming.</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZUsItYN_YSS26I2LHZXAkg.png" /></figure><h3><strong>Real-world Application</strong></h3><p><strong>Divide and Conquer</strong></p><p>The divide-and-conquer strategy is frequently applied in a variety of fields, such as computer science, mathematics, and engineering. Here are some examples of how divide and conquer has been used in the real world:</p><p><strong>Sorting algorithms:</strong> Divide and conquer is frequently used in sorting algorithms like quicksort and merge sort. Before merging the results, these algorithms repeatedly split a list of items into smaller sub-lists and sort them.</p><p><strong>Image processing:</strong> The strategy of divide and conquer is applied in operations like image segmentation, which involves cutting up an image into smaller chunks depending on factors like colour and texture.</p><p><strong>Matrix multiplication:</strong> In matrix multiplication algorithms like Strassen’s algorithm, which divides the matrices into smaller sub-matrices and recursively computes the product of the sub-matrices, the strategy of divide and conquer is used.</p><p><strong>Signal processing:</strong> In applications like Fourier transform algorithms, which divide a signal into smaller segments and calculate the Fourier transform of each segment separately before combining the results, divide and conquer is used.</p><p><strong>Dynamic Programming</strong></p><p>An effective algorithmic method used in numerous fields, including computer science, engineering, economics, and biology, is dynamic programming. Here are some examples of how dynamic programming is used in the real world:</p><p><strong>Shortest path algorithms:</strong> Dynamic programming is used in shortest path algorithms like Bellman-Ford and Dijkstra’s algorithm, which determine the shortest path between two graph vertices.</p><p><strong>Knapsack problem:</strong> The knapsack problem, which involves selecting the best combination of things to fill a knapsack with a finite capacity, is solved using dynamic programming.</p><p><strong>Sequence alignments:</strong> Applications involving sequence alignments, such as voice recognition and DNA sequencing, use dynamic programming to determine the best alignment between two sequences.</p><p><strong>Optimal Control:-</strong> Dynamic programming is utilised in optimum control applications, such as robotics and automated manufacturing, where the goal is to identify the best control actions to take in order to achieve a specific result.</p><p><strong>Game Theory: </strong>Dynamic programming is utilised in game theory applications, such as chess and poker, where it is necessary to determine the best move order in order to win the game.</p><h3><strong>Future Developments</strong></h3><p>Dynamic programming and divide and conquer are well-known algorithmic strategies that have been extensively applied in numerous applications. To make these methods more effective and adaptable to even more complicated challenges, research and development are still being done to improve them. The following future developments in divide and conquer and dynamic programming are possible:</p><p><strong>Parallelization:</strong> The parallelization of divide-and-conquer and dynamic programming techniques is one topic of progress. Researchers are looking into how to parallelize these algorithms to boost their performance as parallel computing resources become more widely available.</p><p><strong>Machine learning:</strong> Another field where divide and conquer and dynamic programming can be used is machine learning. These methods are being investigated by researchers for application in machine learning training and optimisation issues.</p><p><strong>Quantum computing:</strong> Researchers are experimenting with divide-and-conquer and dynamic programming in quantum algorithms to solve optimisation challenges as a result of the development of quantum computing.</p><p><strong>Approximation algorithms:</strong> The use of approximation algorithms to solve issues that cannot be resolved by exact algorithms is another area of development. Divide and conquer and dynamic programming are two strategies under investigation by researchers to provide effective approximation algorithms for diverse optimisation issues.</p><h3><strong>Conclusion</strong></h3><p>In conclusion, dynamic programming and divide and conquer are effective algorithmic strategies that are applied in numerous sectors. While both approaches rely on breaking a larger problem down into smaller sub-problems, how they go about doing that and how they combine the solutions to the sub-problems varies.</p><p>In general, dynamic programming is better suited to problems with overlapping sub-problems and optimal substructure while divide and conquer is more suited to problems with independent sub-problems. The decision between the two approaches is contingent on the particular issue at hand as well as the trade-offs between effectiveness, precision, and practicality.</p><p>Dynamic programming and divide and conquer are both effective tools in the algorithmic toolkit, and their continued development and advancement will increase their usefulness in resolving challenging issues across a variety of disciplines.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14a598387846" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top Down Parsing]]></title>
            <link>https://medium.com/@surajgaikwad2203/top-down-parsing-390dab16e48f?source=rss-eca97f239d21------2</link>
            <guid isPermaLink="false">https://medium.com/p/390dab16e48f</guid>
            <dc:creator><![CDATA[Surajgaikwad]]></dc:creator>
            <pubDate>Thu, 27 Apr 2023 19:22:40 GMT</pubDate>
            <atom:updated>2023-05-03T02:27:08.351Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>In the design of compilers, the process of using grammar rules to analyse the string of symbols is known as syntax analysis or parsing. Top-down and bottom-up parsing are the two main types of parsing.</p><p>Parsing is the process of converting data between different formats. The parser is capable of carrying out this operation. The parser, a part of the translator, helps in organising linear text structure in line with a collection of established principles known as grammar.</p><p>This blog discusses top-down parsing, its classification, and topics like the predictive parser and the LL parse</p><p><strong>What is Top-Down Parsing?</strong></p><p>Top-down parsing is the process of analysing the input and building the parse tree from the root to the leaf. To create a parse tree, use leftmost derivation.</p><p>Recursive descent parsing and LL parsing are examples of top-down parsing algorithms. Although LL parsing builds a predictive parsing table from a given grammar and uses it to parse the input, recursive descent parsing involves constructing a series of recursive procedures to recognise the language of a grammar.</p><p>Top-down parsing is frequently used in compiler development and other applications involving the processing of structured data and is useful for LL(1) grammars, which are a subset of context-free grammars.</p><p><strong>Recursive Descent Technique</strong></p><p>It is a top-down parsing method in which input is read from left to right and a parse tree is built from the top down. It is recursive because CFG (context-free grammar) is used. This method utilizes processes for both terminal and non-terminal entities. Also, it backtracks or does not use backtracking as it parses the input recursively to create a parse tree.</p><h3><strong>Back-tracking</strong></h3><p>The parser must go back to the production it chose if the derivation of the input string fails in one production of a non-terminal. then start constructing the string using a different production of the same non-terminal. Backtracking is the process’s term for repeatedly reading through the input string.</p><p><strong>Example:-</strong></p><p>S-&gt;cAd</p><p>A-&gt;ab|d</p><p>Input string:- cdd</p><p>Building the parse tree will start with the symbol S, and the input pointer is pointing to the first symbol of the given input string, ‘c .’Since the start symbol ‘S’ has single production in its production body. So, the symbol ‘S’ will be expanded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/453/1*GhhTNA4_-XRZ_n01F6kCOA.png" /></figure><p>The leftmost leaf of the tree ‘c’ matches with the first symbol of the string given in input, ‘c’ Thus, we will extend the input pointer to the next symbol of the input string, which is ‘d’.</p><p>The next leaf of the parse tree ‘A’ has two production rules. Let’s expand the symbol ‘A’ with the given first production of ‘A,’ i.e., ‘ab’ we get the following parse tree.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/459/1*fGQEUpwoom8WF-2fN2HjvQ.png" /></figure><p>We get mismatched when comparing our next input symbol ‘d’ with the production rule of ‘A’ i.e. ‘a’ Therefore, the parser must return to the symbol ‘A’ and look for the other alternative.</p><p>The other alternative for the production of ‘A’ is ‘d’ Also, the input pointer must be back-tracked and reset to the position where it was first before we expanded the symbol ‘A’. It means the input pointer must point to ‘d’ this time.</p><p>We will again expand ‘A’ with the following alternative production. The parse tree label ‘d’ leaf matches the second input symbol ‘d’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*MCnGZdWAwB93WguG6XMEKA.png" /></figure><p>Now the input pointer will move on the 3rd symbol which is also a ‘d’ and which is the current production of A. so this particular string will get accepted.</p><h3>Non- back-tracking/ LL(1)Parser</h3><p>The recursive Descent Technique parses the input to make a parse tree with or without back-tracking. The associated grammar may use non-backtracking if it is a left factor.</p><p>A predictive parser and an LL parser are examples of non-backtracking methods.</p><p><strong>Structure of Predictive Parser</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*7kMAPb1BUpLJv3TPJeBSvQ.png" /></figure><p>A simple kind of recursive descent parsing is predictive parsing. Besides that, it does not call for going back. As an alternative, it can decide which production needs to be chosen in order to get the input string. By examining the input string, predictive parsing chooses the right output. A predetermined number of input symbols from the input string can be viewed.</p><p><strong>Components of Predictive top-down parsing</strong></p><p>The components of predictive top-down parsing are as follows:-</p><p><strong>Stack</strong></p><p>A predictive parser supports a stack of grammar symbols.</p><p><strong>Input Buffer</strong></p><p>It contains the string of input that the predictive parser must parse.</p><p><strong>Parsing Table</strong></p><p>The top-down parser can choose the production to be used with ease thanks to the items included in this table. The end marker “$” is present in both the input buffer and stack. It designates the end of the input string in the input buffer as well as the bottom of the stack. The starting symbol is the grammatical symbol that appears above the dollar sign ($).</p><p>We will try to understand the concept with an example</p><p>E-&gt;E+T/T</p><p>T-&gt;T*F/F</p><p>F-&gt;(E)/id</p><p><strong>Steps:</strong></p><p>1. First and Follow</p><p>2. Parsing Table</p><p>3. Stack Implementation</p><p>4. Parse Tree</p><p>This example contains <strong>left recursion</strong> so first we will remove that and after removing left recursion the production rules will something look like this.</p><p>E-&gt;TE’</p><p>E’-&gt;+TE’/€</p><p>T-&gt;FT’</p><p>T’-&gt;*FT’/€</p><p>F-&gt;(E)/id</p><ol><li><strong>First and Follow</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*IA9C-ZVfTkUC3J2I_rjiuQ.png" /></figure><p>We need these first and follow to generate a parsing table.</p><p><strong>2. Parsing Table</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/833/1*1A5oJhNQQp38KN3Ombww4w.png" /></figure><p>In the above table 1st column contains all Non-Terminals and 1st row contains all terminals, with the help of computed first and follows we fill up this table.</p><p>For every non-terminal we have put its production rule in its first, for example for E first are <strong>id</strong> and <strong>(</strong>, so we have written its production rule in its terminals which are <strong>id</strong> and <strong>(</strong> as you can see in the table.</p><p>In another case, suppose our first contains € then we have to put € in follow of that particular non-terminal, for example, <strong>E’-&gt;+TE’/€</strong> this production contains € so we will put E’-&gt;€ in its follows which are <strong>)</strong> and <strong>$.</strong></p><p><strong>3. Stack Implementation</strong></p><p>Now we have first and follow as well as a parsing table now it’s time to parse a string to check if it&#39;s going to accept or reject by LL(1) parser.</p><p>Input String:- id+id*id$</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*n0lsikCe4VWBSDXfXni6aQ.png" /></figure><p>Explanation:- the first row of stack implementation is constant with the beginning symbol in the stack and an input string. Now we will take left most Terminal/symbol of the stack (at the beginning which is <strong>E</strong>) and left most non-terminal of the input string which is <strong>id </strong>and we will check on the non-terminal <strong>id</strong> which production rule is generated by terminal <strong>E </strong>we will replace <strong>E</strong> with that production rule and write that production rule in output. You can see it in 2nd row.</p><p>We will do this until the leftmost symbol of the stack doesn’t match with the leftmost symbol of the string and when they match we will discard them as you can see in the 4th row and if we get the <strong>$</strong> symbol in the stack as well as in input that means the string is parsed successfully.</p><p>In output there are some production rules are written which are very important to generate the parse tree, we will traverse those rules from <strong>top to bottom</strong> and generate our parse tree which is shown below.</p><p><strong>4. Parse Tree</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*R94TD5ztBEstfNTtEghRRA.png" /></figure><p><strong>Conclusion</strong></p><p>In this article, we have discussed the concept of top-down parsing along with its classifications which are predictive parser and LL parser.</p><p>we hope this article enhances your knowledge and makes the concept of top-down parsing easy to understand.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=390dab16e48f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>