├── Cricket Match Dashboard ├── .DS_Store ├── .idea │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── Cricket Match Dashboard.iml ├── out │ └── production │ │ └── Cricket Match Dashboard │ │ ├── CricketDashboardApplication.class │ │ ├── META-INF │ │ └── Cricket Match Dashboard.kotlin_module │ │ ├── UI │ │ └── Dashboard.class │ │ ├── enums │ │ ├── MatchResult.class │ │ └── MatchStatus.class │ │ ├── models │ │ ├── CricketPlayer.class │ │ ├── Match.class │ │ ├── Player.class │ │ ├── PlayerData.class │ │ └── Team.class │ │ └── readme.md ├── readme.md └── src │ ├── .DS_Store │ ├── CricketDashboardApplication.java │ ├── UI │ └── Dashboard.java │ ├── enums │ ├── MatchResult.java │ └── MatchStatus.java │ └── models │ ├── CricketPlayer.java │ ├── Match.java │ ├── Player.java │ ├── PlayerData.java │ └── Team.java ├── Event_calendar_flipkart ├── .DS_Store ├── .idea │ ├── .gitignore │ ├── misc.xml │ ├── modules.xml │ └── uiDesigner.xml ├── Event Calendar.pdf ├── mcoding.iml ├── out │ └── production │ │ └── mcoding │ │ └── com │ │ └── sss │ │ └── mcoding │ │ ├── Driver.class │ │ ├── app │ │ └── EventCalendar.class │ │ ├── dao │ │ ├── TeamDao.class │ │ └── UserDao.class │ │ ├── managers │ │ ├── EventManager.class │ │ ├── TeamManager.class │ │ └── UserManager.class │ │ └── models │ │ ├── Event.class │ │ ├── Participant.class │ │ ├── Team.class │ │ ├── TimeSlot.class │ │ └── User.class └── src │ ├── .DS_Store │ └── com │ ├── .DS_Store │ └── sss │ ├── .DS_Store │ └── mcoding │ ├── .DS_Store │ ├── Driver.java │ ├── app │ └── EventCalendar.java │ ├── dao │ ├── TeamDao.java │ └── UserDao.java │ ├── managers │ ├── EventManager.java │ ├── TeamManager.java │ └── UserManager.java │ └── models │ ├── Event.java │ ├── Participant.java │ ├── Team.java │ ├── TimeSlot.java │ └── User.java ├── FoodKart ├── .DS_Store ├── .idea │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── FoodKart.iml ├── out │ └── production │ │ └── FoodKart │ │ ├── Exceptions │ │ ├── RestaurantAlreadyPresent.class │ │ ├── RestaurantNotPresent.class │ │ ├── UserAlreadyPresent.class │ │ └── UserNotPresent.class │ │ ├── FoodKartApplication.class │ │ ├── Util │ │ └── FoodKartUtil.class │ │ ├── dao │ │ ├── RestaurantDao.class │ │ └── UserDao.class │ │ ├── enums │ │ └── Gender.class │ │ ├── model │ │ ├── Comment.class │ │ ├── FoodItem.class │ │ ├── Rating.class │ │ ├── Restaurant.class │ │ └── User.class │ │ ├── service │ │ ├── FoodKartRestaurantService.class │ │ ├── FoodKartRestaurantServiceImpl.class │ │ ├── FoodKartUserService.class │ │ └── FoodKartUserServiceImpl.class │ │ └── strategy │ │ ├── PriceStrategy$1.class │ │ ├── PriceStrategy.class │ │ ├── RatingStrategy$1.class │ │ ├── RatingStrategy.class │ │ └── RestaurantDisplayStrategy.class ├── readme.md └── src │ ├── Exceptions │ ├── RestaurantAlreadyPresent.java │ ├── RestaurantNotPresent.java │ ├── UserAlreadyPresent.java │ └── UserNotPresent.java │ ├── FoodKartApplication.java │ ├── Util │ └── FoodKartUtil.java │ ├── dao │ ├── OrderDao.java │ ├── RestaurantDao.java │ └── UserDao.java │ ├── enums │ └── Gender.java │ ├── model │ ├── Comment.java │ ├── FoodItem.java │ ├── Order.java │ ├── Rating.java │ ├── Restaurant.java │ └── User.java │ ├── service │ ├── FoodKartRestaurantService.java │ ├── FoodKartRestaurantServiceImpl.java │ ├── FoodKartUserService.java │ └── FoodKartUserServiceImpl.java │ └── strategy │ ├── PriceStrategy.java │ ├── RatingStrategy.java │ └── RestaurantDisplayStrategy.java ├── Low_level_Design_Problems ├── .DS_Store ├── ATMMachine │ ├── .DS_Store │ ├── ATM.java │ ├── ATMService.java │ ├── BranchManager.java │ ├── Card.java │ ├── CardReader.java │ ├── CashDepositSlot.java │ ├── CashDispenser.java │ ├── Check.java │ ├── CheckDepositSlot.java │ ├── Customer.java │ ├── CustomerAccount.java │ ├── CustomerAction.java │ ├── CustomerActionImpl.java │ ├── CustomerDoesNotExist.java │ ├── DepositMedium.java │ ├── DepositSlot.java │ ├── InSufficientFundException.java │ ├── Location.java │ ├── Person.java │ ├── Printer.java │ ├── Readme.md │ ├── Screen.java │ └── Transaction │ │ ├── CashDepositTransaction.java │ │ ├── CheckDepositTransaction.java │ │ ├── Transaction.java │ │ ├── TransactionStatus.java │ │ └── TransactionType.java ├── Amazon │ ├── Amazon_Flipkart System Design.png │ └── README.md ├── Bowling-Alley-Machine-Coding-Flipkart-Interview │ ├── .DS_Store │ ├── .vs │ │ └── Bowling Alley │ │ │ ├── DesignTimeBuild │ │ │ └── .dtbcache.v2 │ │ │ └── v16 │ │ │ └── .suo │ ├── Abstract │ │ └── Game.cs │ ├── Bowling Alley.csproj │ ├── Bowling Alley.sln │ ├── Controller │ │ ├── BowlingAlley.cs │ │ ├── Player.cs │ │ └── PlayerScoreCard.cs │ ├── Enum │ │ └── config.cs │ ├── Factory │ │ └── GameFactory.cs │ ├── Interface │ │ └── GameRule.cs │ ├── Program.cs │ ├── README.md │ ├── Strategy │ │ └── BowlingAlleyStagegy.cs │ ├── bin │ │ └── Debug │ │ │ └── netcoreapp3.1 │ │ │ ├── Bowling Alley.deps.json │ │ │ ├── Bowling Alley.dll │ │ │ ├── Bowling Alley.exe │ │ │ ├── Bowling Alley.pdb │ │ │ ├── Bowling Alley.runtimeconfig.dev.json │ │ │ └── Bowling Alley.runtimeconfig.json │ └── obj │ │ ├── Bowling Alley.csproj.nuget.dgspec.json │ │ ├── Bowling Alley.csproj.nuget.g.props │ │ ├── Bowling Alley.csproj.nuget.g.targets │ │ ├── Debug │ │ └── netcoreapp3.1 │ │ │ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs │ │ │ ├── Bowling Alley.AssemblyInfo.cs │ │ │ ├── Bowling Alley.AssemblyInfoInputs.cache │ │ │ ├── Bowling Alley.assets.cache │ │ │ ├── Bowling Alley.csproj.CoreCompileInputs.cache │ │ │ ├── Bowling Alley.csproj.FileListAbsolute.txt │ │ │ ├── Bowling Alley.csprojAssemblyReference.cache │ │ │ ├── Bowling Alley.dll │ │ │ ├── Bowling Alley.exe │ │ │ ├── Bowling Alley.genruntimeconfig.cache │ │ │ └── Bowling Alley.pdb │ │ ├── project.assets.json │ │ └── project.nuget.cache ├── Bowling-Alley-Machine-Coding-Flipkart │ ├── .DS_Store │ ├── BowlingAlley │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── compiler.xml │ │ │ ├── jarRepositories.xml │ │ │ ├── misc.xml │ │ │ └── uiDesigner.xml │ │ ├── BowlingAlley.iml │ │ ├── pom.xml │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ ├── BowlingGame.java │ │ │ │ ├── Game.java │ │ │ │ ├── Player.java │ │ │ │ ├── Round.java │ │ │ │ └── ScoreKeeperUtility.java │ │ └── target │ │ │ └── classes │ │ │ ├── BowlingGame.class │ │ │ ├── Game.class │ │ │ ├── Player.class │ │ │ ├── Round.class │ │ │ └── ScoreKeeperUtility.class │ └── README.md ├── Calculator-Alternative │ ├── .DS_Store │ ├── classes │ │ └── com │ │ │ └── calc │ │ │ ├── AdditionCommand.class │ │ │ ├── Calculator.class │ │ │ ├── CalculatorTest.class │ │ │ ├── Command.class │ │ │ ├── CommandFactory.class │ │ │ ├── DivisionCommand.class │ │ │ ├── Invoker.class │ │ │ ├── MultiplicationCommand.class │ │ │ ├── PowerCommand.class │ │ │ └── SubtractionCommand.class │ └── source │ │ └── com │ │ └── calc │ │ ├── AdditionCommand.java │ │ ├── Calculator.java │ │ ├── CalculatorTest.java │ │ ├── Command.java │ │ ├── CommandFactory.java │ │ ├── DivisionCommand.java │ │ ├── Invoker.java │ │ ├── MultiplicationCommand.java │ │ ├── PowerCommand.java │ │ └── SubtractionCommand.java ├── Calculator │ ├── .DS_Store │ ├── README.md │ ├── classes │ │ └── com │ │ │ └── calc │ │ │ ├── Calculator.class │ │ │ ├── CalculatorTest.class │ │ │ ├── Command.class │ │ │ ├── ConcreteCommand.class │ │ │ └── Invoker.class │ └── source │ │ └── com │ │ └── calc │ │ ├── Calculator.java │ │ ├── CalculatorTest.java │ │ ├── Command.java │ │ ├── ConcreteCommand.java │ │ └── Invoker.java ├── Coffee Machine - MC Question.pdf ├── CountryElectionSystem │ ├── .DS_Store │ ├── .gradle │ │ ├── 4.8 │ │ │ ├── fileChanges │ │ │ │ └── last-build.bin │ │ │ ├── fileHashes │ │ │ │ ├── fileHashes.bin │ │ │ │ └── fileHashes.lock │ │ │ └── taskHistory │ │ │ │ ├── taskHistory.bin │ │ │ │ └── taskHistory.lock │ │ ├── buildOutputCleanup │ │ │ ├── buildOutputCleanup.lock │ │ │ ├── cache.properties │ │ │ └── outputFiles.bin │ │ └── vcsWorkingDirs │ │ │ └── gc.properties │ ├── .idea │ │ ├── .name │ │ ├── checkstyle-idea.xml │ │ ├── gradle.xml │ │ ├── jarRepositories.xml │ │ ├── misc.xml │ │ ├── uiDesigner.xml │ │ ├── vcs.xml │ │ └── workspace.xml │ ├── ProblemStatementt.pdf │ ├── README.md │ ├── build.gradle │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── out │ │ └── production │ │ │ └── classes │ │ │ └── com │ │ │ └── flipkart │ │ │ └── elections │ │ │ ├── exceptions │ │ │ ├── CandidateDuplicateEntryException.class │ │ │ ├── ConstituencyExistsException.class │ │ │ ├── NotExistsException.class │ │ │ └── PartyAlreadyExistsException.class │ │ │ ├── model │ │ │ ├── Candidate.class │ │ │ ├── Constituency.class │ │ │ ├── ConstituencyParty.class │ │ │ ├── Country.class │ │ │ └── Party.class │ │ │ ├── service │ │ │ ├── CountryElectionSystem.class │ │ │ ├── CountryElectionSystemImpl.class │ │ │ └── DriverProgram.class │ │ │ └── strategy │ │ │ ├── ConstituencyWinnerStrategy.class │ │ │ ├── HighestVotePercentageWins$1.class │ │ │ ├── HighestVotePercentageWins$2.class │ │ │ ├── HighestVotePercentageWins.class │ │ │ ├── LargetPartyByVotesWins.class │ │ │ └── PMSelectionStrategy.class │ ├── settings.gradle │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── flipkart │ │ └── elections │ │ ├── exceptions │ │ ├── CandidateDuplicateEntryException.java │ │ ├── ConstituencyExistsException.java │ │ ├── NotExistsException.java │ │ └── PartyAlreadyExistsException.java │ │ ├── model │ │ ├── Candidate.java │ │ ├── Constituency.java │ │ ├── ConstituencyParty.java │ │ ├── Country.java │ │ └── Party.java │ │ ├── service │ │ ├── CountryElectionSystem.java │ │ ├── CountryElectionSystemImpl.java │ │ └── DriverProgram.java │ │ └── strategy │ │ ├── ConstituencyWinnerStrategy.java │ │ ├── HighestVotePercentageWins.java │ │ ├── LargetPartyByVotesWins.java │ │ └── PMSelectionStrategy.java ├── Coupon │ ├── .DS_Store │ ├── Coupon.iml │ └── src │ │ ├── .DS_Store │ │ └── io │ │ ├── .DS_Store │ │ └── abhi │ │ ├── .DS_Store │ │ └── cartdesign │ │ ├── ApplicableOnAllItems.java │ │ ├── ApplicableOnCateogry.java │ │ ├── ApplicableOnNextItem.java │ │ ├── Cart.java │ │ ├── Cateogry.java │ │ ├── Coupon.java │ │ ├── Item.java │ │ ├── Product.java │ │ └── Readme.md ├── DesignDataStructures │ ├── .DS_Store │ └── HashMap │ │ └── MyHashMap.java ├── DistributedCache │ ├── .DS_Store │ ├── ConsistentHashing │ │ ├── ConsistentHashRing.java │ │ ├── Entry.java │ │ ├── HashFunction.java │ │ ├── Main.java │ │ ├── MapClient.java │ │ └── Server.java │ └── LRUCache │ │ ├── LRUCache.java │ │ ├── LRUNode.java │ │ └── MainDriver.java ├── FacebookDesign │ └── fb db design.jpg ├── FileAndDirectorySystem │ ├── Directory.java │ ├── Entry.java │ ├── File.java │ ├── MainDriver.java │ └── search │ │ ├── ApplySearchFilter.java │ │ ├── SearchByFileName.java │ │ ├── SearchByFormat.java │ │ ├── SearchBySize.java │ │ ├── SearchCriteria.java │ │ ├── SearchRequest.java │ │ └── SearchResponse.java ├── FlightTrackingSystem │ ├── Destination.java │ ├── Flight.java │ ├── FlightStatus.java │ ├── Location.java │ ├── README.md │ ├── SearchCriteria.java │ ├── Source.java │ ├── Time.java │ ├── TrackByArrivalTime.java │ ├── TrackByDepartureTime.java │ ├── TrackByDestination.java │ ├── TrackBySource.java │ └── TrackingSystem.java ├── GenericProgramming │ ├── .idea │ │ ├── compiler.xml │ │ ├── description.html │ │ ├── encodings.xml │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── uiDesigner.xml │ │ ├── vcs.xml │ │ └── workspace.xml │ ├── GenericProgramming.iml │ └── src │ │ ├── GenericBound.java │ │ └── com │ │ └── apsdk │ │ └── common │ │ ├── api │ │ ├── ActualServiceImpl.java │ │ ├── BaseEntryPointServiceImpl.java │ │ └── EntryPointService.java │ │ └── model │ │ ├── ActualRequest.java │ │ ├── ActualResponse.java │ │ ├── BaseRequest.java │ │ └── BaseResponse.java ├── HitCounter │ ├── CounterService.java │ ├── CounterServiceImpl.java │ ├── Record.java │ └── RedisService.java ├── HotelManagmentSystem │ ├── Amenities.java │ ├── Amenity.java │ ├── AvailabilityRequest.java │ ├── AvailabilityService.java │ ├── BookingService.java │ ├── CatalogDetails.java │ ├── Channel.java │ ├── CheckoutService.java │ ├── Currency.java │ ├── Customer.java │ ├── EmailNotification.java │ ├── Employee.java │ ├── Hotel Booking System Design.png │ ├── Hotel.java │ ├── HouseKeepingStaff.java │ ├── InvoiceService.java │ ├── Kitchen.java │ ├── Location.java │ ├── Notification.java │ ├── NotificationChannel.java │ ├── NotificationService.java │ ├── NotificationServiceImpl.java │ ├── NotificationTemplate.java │ ├── OrderService.java │ ├── PaymentService.java │ ├── PaymentStatus.java │ ├── PriceBudget.java │ ├── README.md │ ├── Receptionist.java │ ├── Reservation.java │ ├── ReservationStatus.java │ ├── Role.java │ ├── Room.java │ ├── RoomFair.java │ ├── RoomType.java │ ├── SMSNotification.java │ ├── User.java │ ├── UserService.java │ └── UserStatus.java ├── LLD-Practice │ ├── .DS_Store │ ├── .idea │ │ ├── LLD Practice.iml │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── vcs.xml │ │ └── workspace.xml │ ├── BookMyShow │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── compiler.xml │ │ │ ├── inspectionProfiles │ │ │ │ └── Project_Default.xml │ │ │ ├── jarRepositories.xml │ │ │ ├── misc.xml │ │ │ └── vcs.xml │ │ ├── BookMyShow.iml │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ ├── .DS_Store │ │ │ ├── Driver.java │ │ │ ├── exceptions │ │ │ ├── ShowAlreadyExistsException.java │ │ │ └── ShowNotFoundException.java │ │ │ ├── model │ │ │ ├── Booking.java │ │ │ ├── BookingStatus.java │ │ │ ├── Movie.java │ │ │ ├── Screen.java │ │ │ ├── Seat.java │ │ │ ├── Seatlock.java │ │ │ ├── Show.java │ │ │ ├── Theater.java │ │ │ ├── Ticket.java │ │ │ ├── TransactionStatus.java │ │ │ └── User.java │ │ │ └── service │ │ │ ├── BookMyShow.java │ │ │ ├── BookingManager.java │ │ │ ├── PaymentManager.java │ │ │ ├── SearchManager.java │ │ │ ├── SeatManager.java │ │ │ ├── ShowService.java │ │ │ └── iservice │ │ │ ├── IBookingManager.java │ │ │ ├── IPaymentManager.java │ │ │ ├── ISearchManager.java │ │ │ ├── ISeatManager.java │ │ │ └── IShowService.java │ ├── DecoratorPattern │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── compiler.xml │ │ │ ├── jarRepositories.xml │ │ │ ├── misc.xml │ │ │ └── vcs.xml │ │ ├── DecoratorPattern.iml │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ ├── DeluxeRoom.java │ │ │ ├── Driver.java │ │ │ ├── ExtraChargeDecorator.java │ │ │ ├── FoodService.java │ │ │ ├── IBaseRoom.java │ │ │ ├── NormalRoom.java │ │ │ └── WineService.java │ ├── Elevator │ │ ├── .DS_Store │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── compiler.xml │ │ │ ├── inspectionProfiles │ │ │ │ └── Project_Default.xml │ │ │ ├── jarRepositories.xml │ │ │ ├── misc.xml │ │ │ ├── saveactions_settings.xml │ │ │ └── vcs.xml │ │ ├── Elevator.iml │ │ ├── pom.xml │ │ └── src │ │ │ ├── .DS_Store │ │ │ └── main │ │ │ ├── .DS_Store │ │ │ └── java │ │ │ ├── .DS_Store │ │ │ ├── Driver.java │ │ │ ├── config │ │ │ └── Config.java │ │ │ ├── model │ │ │ ├── Direction.java │ │ │ ├── Elevator.java │ │ │ ├── FloorSwitch.java │ │ │ ├── State.java │ │ │ └── SwitchDirection.java │ │ │ └── service │ │ │ ├── CallElevatorStrategy.java │ │ │ ├── ElevatorManager.java │ │ │ ├── ElevatorService.java │ │ │ ├── FloorSwitchService.java │ │ │ ├── IElevatorService.java │ │ │ ├── IFloorSwitchService.java │ │ │ └── NearestCallElevatorStrategy.java │ ├── FBFeed │ │ ├── .idea │ │ │ ├── compiler.xml │ │ │ ├── jarRepositories.xml │ │ │ ├── misc.xml │ │ │ ├── vcs.xml │ │ │ └── workspace.xml │ │ ├── FBFeed.iml │ │ └── pom.xml │ ├── FlipkartMachineCoding │ │ ├── .idea │ │ │ ├── compiler.xml │ │ │ ├── jarRepositories.xml │ │ │ ├── misc.xml │ │ │ ├── vcs.xml │ │ │ └── workspace.xml │ │ ├── FlipkartMachineCoding.iml │ │ ├── pom.xml │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ ├── Driver.java │ │ │ │ ├── exception │ │ │ │ ├── CustomerNotFound.java │ │ │ │ └── DriverNotFound.java │ │ │ │ ├── model │ │ │ │ ├── Customer.java │ │ │ │ ├── Driver.java │ │ │ │ └── Status.java │ │ │ │ └── service │ │ │ │ ├── CabManager.java │ │ │ │ ├── EligibleDriverStrategy.java │ │ │ │ └── IEligibleDriverStrategy.java │ │ └── target │ │ │ └── classes │ │ │ ├── Driver.class │ │ │ ├── exception │ │ │ ├── CustomerNotFound.class │ │ │ └── DriverNotFound.class │ │ │ ├── model │ │ │ ├── Customer.class │ │ │ ├── Driver.class │ │ │ └── Status.class │ │ │ └── service │ │ │ ├── CabManager.class │ │ │ ├── EligibleDriverStrategy.class │ │ │ └── IEligibleDriverStrategy.class │ ├── Library Management System │ │ ├── .vs │ │ │ ├── Library Management System │ │ │ │ └── v16 │ │ │ │ │ └── .suo │ │ │ ├── VSWorkspaceState.json │ │ │ └── slnx.sqlite │ │ ├── Account.java │ │ ├── Address.java │ │ ├── Author.java │ │ ├── Book.java │ │ ├── BookIssueService.java │ │ ├── BookItem.java │ │ ├── BookLending.java │ │ ├── FineService.java │ │ ├── Librarian.java │ │ ├── Library.java │ │ ├── Member.java │ │ ├── Person.java │ │ ├── Rack.java │ │ ├── Requirements.md │ │ ├── Search.java │ │ └── SystemUser.java │ ├── Parking Lot Design │ │ └── Requirements.txt │ ├── README.md │ ├── Splitwise-Practice │ │ ├── .DS_Store │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── compiler.xml │ │ │ ├── inspectionProfiles │ │ │ │ └── Project_Default.xml │ │ │ ├── jarRepositories.xml │ │ │ ├── misc.xml │ │ │ └── vcs.xml │ │ ├── Practice.iml │ │ ├── pom.xml │ │ ├── src │ │ │ ├── .DS_Store │ │ │ └── main │ │ │ │ ├── .DS_Store │ │ │ │ ├── java │ │ │ │ ├── Driver.java │ │ │ │ ├── exception │ │ │ │ │ └── UserNotFoundException.java │ │ │ │ ├── model │ │ │ │ │ ├── CentralExpense.java │ │ │ │ │ └── User.java │ │ │ │ ├── service │ │ │ │ │ ├── Equal.java │ │ │ │ │ ├── Exact.java │ │ │ │ │ ├── ExpenseFactory.java │ │ │ │ │ ├── ExpenseStrategy.java │ │ │ │ │ └── SplitHandler.java │ │ │ │ └── utils │ │ │ │ │ └── SplitTypeGetter.java │ │ │ │ └── resources │ │ │ │ └── Req.txt │ │ └── target │ │ │ └── classes │ │ │ └── Driver.class │ ├── Splitwise │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── compiler.xml │ │ │ ├── jarRepositories.xml │ │ │ ├── misc.xml │ │ │ └── vcs.xml │ │ ├── pom.xml │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ ├── Driver.java │ │ │ │ ├── model │ │ │ │ ├── Expense │ │ │ │ │ ├── EqualExpense.java │ │ │ │ │ ├── ExactExpense.java │ │ │ │ │ ├── Expense.java │ │ │ │ │ └── PercentExpense.java │ │ │ │ ├── ExpenseType.java │ │ │ │ ├── Split │ │ │ │ │ ├── EqualSplit.java │ │ │ │ │ ├── ExactSplit.java │ │ │ │ │ ├── PercentSplit.java │ │ │ │ │ └── Split.java │ │ │ │ └── User.java │ │ │ │ └── service │ │ │ │ ├── ExpenseManager.java │ │ │ │ └── ExpenseService.java │ │ └── target │ │ │ └── classes │ │ │ ├── Driver.class │ │ │ ├── model │ │ │ ├── Expense │ │ │ │ ├── EqualExpense.class │ │ │ │ ├── ExactExpense.class │ │ │ │ ├── Expense.class │ │ │ │ └── PercentExpense.class │ │ │ ├── ExpenseType.class │ │ │ ├── Split │ │ │ │ ├── EqualSplit.class │ │ │ │ ├── ExactSplit.class │ │ │ │ ├── PercentSplit.class │ │ │ │ └── Split.class │ │ │ └── User.class │ │ │ └── service │ │ │ ├── ExpenseManager.class │ │ │ ├── ExpenseService$1.class │ │ │ └── ExpenseService.class │ ├── TrueCaller1 │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── compiler.xml │ │ │ ├── jarRepositories.xml │ │ │ └── misc.xml │ │ ├── TrueCaller1.iml │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── model │ │ │ ├── Account.java │ │ │ └── common │ │ │ ├── Address.java │ │ │ ├── Contact.java │ │ │ ├── PersonalInfo.java │ │ │ ├── SocialInfo.java │ │ │ ├── SocialProfileType.java │ │ │ └── Tag.java │ └── Uber-Ola Design │ │ └── .idea │ │ └── workspace.xml ├── Leetcode │ ├── .DS_Store │ ├── G4G │ │ ├── .DS_Store │ │ ├── .idea │ │ │ ├── misc.xml │ │ │ ├── modules.xml │ │ │ ├── uiDesigner.xml │ │ │ ├── vcs.xml │ │ │ └── workspace.xml │ │ ├── G4G.iml │ │ ├── out │ │ │ └── production │ │ │ │ └── G4G │ │ │ │ ├── Array │ │ │ │ ├── GFG.class │ │ │ │ ├── GoldMan │ │ │ │ │ ├── MaxCommonality.class │ │ │ │ │ ├── Range.class │ │ │ │ │ └── lengthofCycle.class │ │ │ │ ├── GumballProblem.class │ │ │ │ ├── HelloCodiva.class │ │ │ │ ├── Interface │ │ │ │ │ ├── Base.class │ │ │ │ │ ├── Derived.class │ │ │ │ │ ├── Main.class │ │ │ │ │ ├── child.class │ │ │ │ │ ├── four.class │ │ │ │ │ ├── one.class │ │ │ │ │ ├── three.class │ │ │ │ │ └── two.class │ │ │ │ ├── MinimumTimeDifference$superComparator.class │ │ │ │ ├── MinimumTimeDifference.class │ │ │ │ ├── PathmaxMinValue.class │ │ │ │ ├── Solution │ │ │ │ │ ├── Solution.class │ │ │ │ │ └── SolutionTest.class │ │ │ │ ├── StrangeSorting.class │ │ │ │ ├── ThreeSum.class │ │ │ │ ├── awardCaps.class │ │ │ │ ├── courseSchedule.class │ │ │ │ ├── divisibleby60.class │ │ │ │ ├── findArtifacts.class │ │ │ │ ├── findCircularArray.class │ │ │ │ ├── findMaximum.class │ │ │ │ ├── islandPerimeter.class │ │ │ │ ├── kClosestPointstoOrigin.class │ │ │ │ ├── medianSortedArrays.class │ │ │ │ ├── missingElement.class │ │ │ │ ├── reconstructItenary.class │ │ │ │ ├── rotatematrix.class │ │ │ │ ├── subArraySum0.class │ │ │ │ ├── summaryRanges.class │ │ │ │ └── topKfrequentElements.class │ │ │ │ ├── BST │ │ │ │ ├── BurnNode$TreeNode.class │ │ │ │ ├── BurnNode.class │ │ │ │ ├── minSum$Node.class │ │ │ │ ├── minSum.class │ │ │ │ └── pathSum3.class │ │ │ │ ├── CTC │ │ │ │ └── Medium │ │ │ │ │ ├── factorialZeroes.class │ │ │ │ │ ├── numberSwapper.class │ │ │ │ │ └── operations.class │ │ │ │ ├── DesignDataStructures │ │ │ │ └── HashMap │ │ │ │ │ ├── MyHashMap$Entry.class │ │ │ │ │ └── MyHashMap.class │ │ │ │ ├── FileSearch │ │ │ │ └── FileSearch.class │ │ │ │ ├── Interview │ │ │ │ └── HashMap │ │ │ │ │ ├── Employee.class │ │ │ │ │ ├── Employee2.class │ │ │ │ │ └── MapReduction │ │ │ │ │ ├── MapReduce.class │ │ │ │ │ ├── MapReduceImpl.class │ │ │ │ │ ├── Pair.class │ │ │ │ │ └── Solution.class │ │ │ │ ├── Leetcode │ │ │ │ ├── AccountsMerge721$1.class │ │ │ │ ├── AccountsMerge721$2.class │ │ │ │ ├── AccountsMerge721$3.class │ │ │ │ ├── AccountsMerge721$4.class │ │ │ │ └── AccountsMerge721.class │ │ │ │ ├── LinkedList │ │ │ │ ├── DesignLinkedList$Node.class │ │ │ │ ├── DesignLinkedList.class │ │ │ │ ├── LRUCache$DLinkedNode.class │ │ │ │ ├── LRUCache.class │ │ │ │ ├── ListNode.class │ │ │ │ ├── Node.class │ │ │ │ ├── compareLinkedList$ListNode.class │ │ │ │ ├── compareLinkedList$Names.class │ │ │ │ ├── compareLinkedList.class │ │ │ │ ├── detectCycle2$ListNode.class │ │ │ │ ├── detectCycle2.class │ │ │ │ ├── removeDupUnsortedList$ListNode.class │ │ │ │ ├── removeDupUnsortedList.class │ │ │ │ ├── sortList$ListNode.class │ │ │ │ ├── sortList.class │ │ │ │ ├── sumLinkedList.class │ │ │ │ └── test.class │ │ │ │ ├── META-INF │ │ │ │ └── G4G.kotlin_module │ │ │ │ ├── Math │ │ │ │ └── addNumbersWithoutOperations.class │ │ │ │ ├── MworksTest │ │ │ │ ├── max.class │ │ │ │ └── travelIsFun.class │ │ │ │ ├── Queue │ │ │ │ ├── LRUCache$DLinkedNode.class │ │ │ │ ├── LRUCache.class │ │ │ │ ├── maxSumArray.class │ │ │ │ ├── queueReverse.class │ │ │ │ └── reverseFirstK.class │ │ │ │ ├── SlidingWindow │ │ │ │ └── SlidingWindowMax.class │ │ │ │ ├── Stack │ │ │ │ └── sortStack.class │ │ │ │ ├── String │ │ │ │ ├── AlienDictionary.class │ │ │ │ ├── DecodeString.class │ │ │ │ ├── ExcelColumnTitle.class │ │ │ │ ├── FindNull.class │ │ │ │ ├── FlattenDictionary.class │ │ │ │ ├── LargestNumber$LargestNumberComparator.class │ │ │ │ ├── LargestNumber.class │ │ │ │ ├── LastSubstringinLexoOrder.class │ │ │ │ ├── PatternMatching.class │ │ │ │ ├── StringCompression.class │ │ │ │ ├── UniqueFrequencyOfCharacters.class │ │ │ │ ├── maxELementbyInserting5.class │ │ │ │ ├── reorderLogs.class │ │ │ │ ├── urlify.class │ │ │ │ └── wordLadder.class │ │ │ │ ├── SystemDesign │ │ │ │ ├── .DS_Store │ │ │ │ ├── ElevatorDesign │ │ │ │ │ ├── Constants.class │ │ │ │ │ ├── Elevator$DIRECTION.class │ │ │ │ │ ├── Elevator.class │ │ │ │ │ ├── ElevatorController.class │ │ │ │ │ ├── ElevatorEventListener.class │ │ │ │ │ └── IElevatorController.class │ │ │ │ ├── ElevatorDesign2 │ │ │ │ │ ├── .DS_Store │ │ │ │ │ ├── ecs │ │ │ │ │ │ ├── IElevator.class │ │ │ │ │ │ ├── IElevatorControlSystem.class │ │ │ │ │ │ ├── enums │ │ │ │ │ │ │ ├── ElevatorDirection.class │ │ │ │ │ │ │ └── ElevatorStatus.class │ │ │ │ │ │ └── impl │ │ │ │ │ │ │ ├── Elevator$1.class │ │ │ │ │ │ │ ├── Elevator.class │ │ │ │ │ │ │ └── ElevatorControlSystem.class │ │ │ │ │ └── simulate │ │ │ │ │ │ └── ElevatorSimulation.class │ │ │ │ ├── JukeBox │ │ │ │ │ ├── Artist.class │ │ │ │ │ ├── CD.class │ │ │ │ │ ├── CDPlayer.class │ │ │ │ │ ├── Gender.class │ │ │ │ │ ├── JukeBox$1.class │ │ │ │ │ ├── JukeBox.class │ │ │ │ │ ├── Person.class │ │ │ │ │ ├── PlayList.class │ │ │ │ │ ├── Song.class │ │ │ │ │ └── User.class │ │ │ │ ├── LibraryManagementSystem │ │ │ │ │ ├── AccountStatus.class │ │ │ │ │ ├── Address.class │ │ │ │ │ ├── Author.class │ │ │ │ │ ├── Book.class │ │ │ │ │ ├── BookFormat.class │ │ │ │ │ ├── BookItem.class │ │ │ │ │ ├── BookLending.class │ │ │ │ │ ├── BookReservation.class │ │ │ │ │ ├── BookStatus.class │ │ │ │ │ ├── Constants.class │ │ │ │ │ ├── Fine.class │ │ │ │ │ ├── Person.class │ │ │ │ │ ├── Rack.class │ │ │ │ │ ├── ReservationStatus.class │ │ │ │ │ └── Search.class │ │ │ │ ├── LogisticsDesign │ │ │ │ │ ├── Apptest.class │ │ │ │ │ ├── Bike.class │ │ │ │ │ ├── Item.class │ │ │ │ │ ├── Location.class │ │ │ │ │ ├── LogisticsSystem.class │ │ │ │ │ ├── Order.class │ │ │ │ │ ├── OrderPriority.class │ │ │ │ │ ├── OrderStatus.class │ │ │ │ │ ├── PaymentDetails.class │ │ │ │ │ ├── PaymentMode.class │ │ │ │ │ ├── PaymentStatus.class │ │ │ │ │ ├── User.class │ │ │ │ │ ├── Vehicle.class │ │ │ │ │ └── VehicleStatus.class │ │ │ │ ├── LowLevelCacheDesign │ │ │ │ │ ├── .DS_Store │ │ │ │ │ └── main │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ └── java │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ └── com │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ ├── Main.class │ │ │ │ │ │ ├── algoritms │ │ │ │ │ │ ├── DoublyLinkedList.class │ │ │ │ │ │ ├── DoublyLinkedListNode.class │ │ │ │ │ │ └── exceptions │ │ │ │ │ │ │ ├── InvalidElementException.class │ │ │ │ │ │ │ └── InvalidNodeException.class │ │ │ │ │ │ └── cache │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ ├── Cache.class │ │ │ │ │ │ ├── exceptions │ │ │ │ │ │ ├── NotFoundException.class │ │ │ │ │ │ └── StorageFullException.class │ │ │ │ │ │ ├── factories │ │ │ │ │ │ └── CacheFactory.class │ │ │ │ │ │ ├── policies │ │ │ │ │ │ ├── EvictionPolicy.class │ │ │ │ │ │ └── LRUEvictionPolicy.class │ │ │ │ │ │ └── storage │ │ │ │ │ │ ├── HashMapBasedStorage.class │ │ │ │ │ │ └── Storage.class │ │ │ │ ├── OnlineBookReaderSystem │ │ │ │ │ ├── AppTest.class │ │ │ │ │ ├── Book.class │ │ │ │ │ ├── Display.class │ │ │ │ │ ├── Library.class │ │ │ │ │ ├── OnlineReaderSystem.class │ │ │ │ │ ├── User.class │ │ │ │ │ └── UserManager.class │ │ │ │ ├── OnlineBookReaderSystem2 │ │ │ │ │ ├── Book.class │ │ │ │ │ ├── DemoOnlineBookReaderSystem.class │ │ │ │ │ ├── Display.class │ │ │ │ │ ├── Library.class │ │ │ │ │ ├── OnlineReaderSystem.class │ │ │ │ │ ├── User.class │ │ │ │ │ └── UserManager.class │ │ │ │ ├── ParkingLot │ │ │ │ │ ├── Car.class │ │ │ │ │ ├── Level.class │ │ │ │ │ ├── Main.class │ │ │ │ │ ├── Motorcycle.class │ │ │ │ │ ├── ParkingLot.class │ │ │ │ │ ├── ParkingSpot.class │ │ │ │ │ ├── Vehicle.class │ │ │ │ │ └── VehicleSize.class │ │ │ │ ├── ParkingLot2 │ │ │ │ │ ├── Account.class │ │ │ │ │ ├── AccountStatus.class │ │ │ │ │ ├── Address.class │ │ │ │ │ ├── Admin.class │ │ │ │ │ ├── Car.class │ │ │ │ │ ├── CompactSpot.class │ │ │ │ │ ├── Customer.class │ │ │ │ │ ├── Electric.class │ │ │ │ │ ├── ElectricSpot.class │ │ │ │ │ ├── EntryPanel.class │ │ │ │ │ ├── ExitPanel.class │ │ │ │ │ ├── HandicappedSpot.class │ │ │ │ │ ├── LargeSpot.class │ │ │ │ │ ├── MotorBike.class │ │ │ │ │ ├── MotorBikeSpot.class │ │ │ │ │ ├── ParkingAttendant.class │ │ │ │ │ ├── ParkingDisplayBoard.class │ │ │ │ │ ├── ParkingFloor$1.class │ │ │ │ │ ├── ParkingFloor.class │ │ │ │ │ ├── ParkingFullException.class │ │ │ │ │ ├── ParkingLot2.class │ │ │ │ │ ├── ParkingSpot.class │ │ │ │ │ ├── ParkingTicketStatus.class │ │ │ │ │ ├── Person.class │ │ │ │ │ ├── SpotType.class │ │ │ │ │ ├── Ticket.class │ │ │ │ │ ├── Truck.class │ │ │ │ │ ├── Vehicle.class │ │ │ │ │ └── VehicleType.class │ │ │ │ ├── ReservationSystem │ │ │ │ │ ├── Customer.class │ │ │ │ │ ├── Reservation.class │ │ │ │ │ ├── ReservationManager$Table.class │ │ │ │ │ ├── ReservationManager$TableType.class │ │ │ │ │ └── ReservationManager.class │ │ │ │ ├── SnakeAndLadder │ │ │ │ │ ├── DiceService.class │ │ │ │ │ ├── Driver.class │ │ │ │ │ ├── Ladder.class │ │ │ │ │ ├── Player.class │ │ │ │ │ ├── Snake.class │ │ │ │ │ ├── SnakeAndLadderBoard.class │ │ │ │ │ └── SnakeAndLadderService.class │ │ │ │ ├── SnakeGame │ │ │ │ │ ├── Board.class │ │ │ │ │ ├── Cell.class │ │ │ │ │ ├── CellType.class │ │ │ │ │ ├── Game.class │ │ │ │ │ └── Snake.class │ │ │ │ ├── SnakeGame2 │ │ │ │ │ ├── Board.class │ │ │ │ │ ├── BoardInterface.class │ │ │ │ │ ├── Cell.class │ │ │ │ │ ├── CellType.class │ │ │ │ │ ├── FactorySnakePattern.class │ │ │ │ │ ├── FoodInterface.class │ │ │ │ │ ├── FoodService.class │ │ │ │ │ ├── Game2.class │ │ │ │ │ └── Snake.class │ │ │ │ └── VendingMachine │ │ │ │ │ ├── Driver.class │ │ │ │ │ ├── InventoryService.class │ │ │ │ │ ├── InventoryServiceImpl.class │ │ │ │ │ ├── Item.class │ │ │ │ │ ├── Location.class │ │ │ │ │ ├── LoggingService.class │ │ │ │ │ ├── LoggingServiceImpl.class │ │ │ │ │ ├── MechanicalService.class │ │ │ │ │ ├── MechanicalServiceImpl.class │ │ │ │ │ ├── Payment.class │ │ │ │ │ ├── PaymentMethod.class │ │ │ │ │ ├── PaymentService.class │ │ │ │ │ ├── PaymentServiceImpl.class │ │ │ │ │ ├── VendingMachine.class │ │ │ │ │ └── VendingMachineFactory.class │ │ │ │ ├── Test │ │ │ │ ├── Altimetrik.class │ │ │ │ ├── Altimetriktest.class │ │ │ │ ├── Bicycle.class │ │ │ │ ├── FinalClassExample.class │ │ │ │ ├── InterfaceTesting │ │ │ │ │ ├── AbstractTest.class │ │ │ │ │ ├── Itest.class │ │ │ │ │ └── testImpl.class │ │ │ │ ├── Itesting2 │ │ │ │ │ ├── main.class │ │ │ │ │ ├── test33.class │ │ │ │ │ ├── test34.class │ │ │ │ │ └── test35.class │ │ │ │ ├── MountainBike.class │ │ │ │ ├── Solution.class │ │ │ │ ├── Test.class │ │ │ │ ├── Test2.class │ │ │ │ ├── Test3.class │ │ │ │ ├── Test4.class │ │ │ │ ├── TestParent.class │ │ │ │ └── countSetBits.class │ │ │ │ ├── Trie │ │ │ │ ├── WordDictionary$TrieNode.class │ │ │ │ └── WordDictionary.class │ │ │ │ ├── dfs │ │ │ │ └── findMinLen.class │ │ │ │ ├── dp │ │ │ │ ├── bstTimetoBuySellCoolDown.class │ │ │ │ ├── coinChangeMin.class │ │ │ │ ├── decodeWays.class │ │ │ │ ├── editDistance.class │ │ │ │ ├── editDistanceWithOP.class │ │ │ │ ├── longestStringChain.class │ │ │ │ ├── noOfPaths.class │ │ │ │ ├── partitionSubSetstoSum.class │ │ │ │ └── wordBreak.class │ │ │ │ ├── one │ │ │ │ ├── SumNNum.class │ │ │ │ ├── revseGroups.class │ │ │ │ ├── sum.class │ │ │ │ └── wave.class │ │ │ │ └── sorting │ │ │ │ ├── DistantBarcodes.class │ │ │ │ ├── MergeSort │ │ │ │ └── MergeSort.class │ │ │ │ ├── largestNumber$LargestNumberComporator.class │ │ │ │ └── largestNumber.class │ │ └── src │ │ │ ├── .DS_Store │ │ │ ├── Array │ │ │ ├── GFG.java │ │ │ ├── GoldMan │ │ │ │ ├── MaxCommonality.java │ │ │ │ ├── Range.java │ │ │ │ └── lengthofCycle.java │ │ │ ├── GumballProblem.java │ │ │ ├── HelloCodiva.java │ │ │ ├── Interface │ │ │ │ ├── Main.java │ │ │ │ └── child.java │ │ │ ├── MinimumTimeDifference.java │ │ │ ├── PathmaxMinValue.java │ │ │ ├── Solution │ │ │ │ ├── Solution.java │ │ │ │ └── SolutionTest.java │ │ │ ├── StrangeSorting.java │ │ │ ├── ThreeSum.java │ │ │ ├── awardCaps.java │ │ │ ├── courseSchedule.java │ │ │ ├── divisibleby60.java │ │ │ ├── findArtifacts.java │ │ │ ├── findCircularArray.java │ │ │ ├── findMaximum.java │ │ │ ├── islandPerimeter.java │ │ │ ├── kClosestPointstoOrigin.java │ │ │ ├── medianSortedArrays.java │ │ │ ├── missingElement.java │ │ │ ├── reconstructItenary.java │ │ │ ├── rotatematrix.java │ │ │ ├── sortModulous.java │ │ │ ├── subArraySum0.java │ │ │ ├── summaryRanges.java │ │ │ └── topKfrequentElements.java │ │ │ ├── BST │ │ │ ├── BurnNode.java │ │ │ ├── minSum.java │ │ │ └── pathSum3.java │ │ │ ├── CTC │ │ │ └── Medium │ │ │ │ ├── factorialZeroes.java │ │ │ │ ├── numberSwapper.java │ │ │ │ └── operations.java │ │ │ ├── DesignDataStructures │ │ │ ├── .DS_Store │ │ │ └── HashMap │ │ │ │ └── MyHashMap.java │ │ │ ├── FileSearch │ │ │ └── FileSearch.java │ │ │ ├── Interview │ │ │ └── HashMap │ │ │ │ ├── Employee.java │ │ │ │ ├── Employee2.java │ │ │ │ └── MapReduction │ │ │ │ └── d.java │ │ │ ├── Leetcode │ │ │ └── AccountsMerge721.java │ │ │ ├── LinkedList │ │ │ ├── DesignLinkedList.java │ │ │ ├── LRUCache.java │ │ │ ├── compareLinkedList.java │ │ │ ├── detectCycle2.java │ │ │ ├── removeDupUnsortedList.java │ │ │ ├── sortList.java │ │ │ ├── sumLinkedList.java │ │ │ └── test.java │ │ │ ├── Math │ │ │ └── addNumbersWithoutOperations.java │ │ │ ├── MworksTest │ │ │ ├── dc.java │ │ │ ├── max.java │ │ │ └── travelIsFun.java │ │ │ ├── Queue │ │ │ ├── LRUCache.java │ │ │ ├── maxSumArray.java │ │ │ ├── queueReverse.java │ │ │ └── reverseFirstK.java │ │ │ ├── SlidingWindow │ │ │ └── SlidingWindowMax.java │ │ │ ├── Stack │ │ │ └── sortStack.java │ │ │ ├── String │ │ │ ├── AlienDictionary.java │ │ │ ├── DecodeString.java │ │ │ ├── ExcelColumnTitle.java │ │ │ ├── FindNull.java │ │ │ ├── FlattenDictionary.java │ │ │ ├── LargestNumber.java │ │ │ ├── LastSubstringinLexoOrder.java │ │ │ ├── PatternMatching.java │ │ │ ├── StringCompression.java │ │ │ ├── UniqueFrequencyOfCharacters.java │ │ │ ├── maxELementbyInserting5.java │ │ │ ├── reorderLogs.java │ │ │ ├── urlify.java │ │ │ └── wordLadder.java │ │ │ ├── SystemDesign │ │ │ ├── .DS_Store │ │ │ ├── ElevatorDesign │ │ │ │ ├── Constants.java │ │ │ │ ├── Elevator.java │ │ │ │ ├── ElevatorController.java │ │ │ │ ├── ElevatorEventListener.java │ │ │ │ └── IElevatorController.java │ │ │ ├── ElevatorDesign2 │ │ │ │ ├── .DS_Store │ │ │ │ ├── ecs │ │ │ │ │ ├── .DS_Store │ │ │ │ │ ├── IElevator.java │ │ │ │ │ ├── IElevatorControlSystem.java │ │ │ │ │ ├── enums │ │ │ │ │ │ ├── ElevatorDirection.java │ │ │ │ │ │ └── ElevatorStatus.java │ │ │ │ │ └── impl │ │ │ │ │ │ ├── Elevator.java │ │ │ │ │ │ └── ElevatorControlSystem.java │ │ │ │ └── simulate │ │ │ │ │ └── ElevatorSimulation.java │ │ │ ├── JukeBox │ │ │ │ ├── Artist.java │ │ │ │ ├── CD.java │ │ │ │ ├── CDPlayer.java │ │ │ │ ├── Gender.java │ │ │ │ ├── JukeBox.java │ │ │ │ ├── Person.java │ │ │ │ ├── PlayList.java │ │ │ │ ├── Song.java │ │ │ │ └── User.java │ │ │ ├── LibraryManagementSystem │ │ │ │ ├── AccountStatus.java │ │ │ │ ├── Address.java │ │ │ │ ├── Author.java │ │ │ │ ├── Book.java │ │ │ │ ├── BookFormat.java │ │ │ │ ├── BookItem.java │ │ │ │ ├── BookLending.java │ │ │ │ ├── BookReservation.java │ │ │ │ ├── BookStatus.java │ │ │ │ ├── Catalog.java │ │ │ │ ├── Constants.java │ │ │ │ ├── Fine.java │ │ │ │ ├── Person.java │ │ │ │ ├── Rack.java │ │ │ │ ├── ReservationStatus.java │ │ │ │ ├── Search.java │ │ │ │ └── de.java │ │ │ ├── LogisticsDesign │ │ │ │ ├── Apptest.java │ │ │ │ ├── Bike.java │ │ │ │ ├── Item.java │ │ │ │ ├── Location.java │ │ │ │ ├── LogisticsSystem.java │ │ │ │ ├── Order.java │ │ │ │ ├── OrderPriority.java │ │ │ │ ├── OrderStatus.java │ │ │ │ ├── PaymentDetails.java │ │ │ │ ├── PaymentMode.java │ │ │ │ ├── PaymentStatus.java │ │ │ │ ├── User.java │ │ │ │ ├── Vehicle.java │ │ │ │ └── VehicleStatus.java │ │ │ ├── LowLevelCacheDesign │ │ │ │ ├── .DS_Store │ │ │ │ ├── main │ │ │ │ │ ├── .DS_Store │ │ │ │ │ └── java │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ └── com │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ ├── Main.java │ │ │ │ │ │ ├── algoritms │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ ├── DoublyLinkedList.java │ │ │ │ │ │ ├── DoublyLinkedListNode.java │ │ │ │ │ │ └── exceptions │ │ │ │ │ │ │ ├── InvalidElementException.java │ │ │ │ │ │ │ └── InvalidNodeException.java │ │ │ │ │ │ └── cache │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ ├── Cache.java │ │ │ │ │ │ ├── exceptions │ │ │ │ │ │ ├── NotFoundException.java │ │ │ │ │ │ └── StorageFullException.java │ │ │ │ │ │ ├── factories │ │ │ │ │ │ └── CacheFactory.java │ │ │ │ │ │ ├── policies │ │ │ │ │ │ ├── EvictionPolicy.java │ │ │ │ │ │ └── LRUEvictionPolicy.java │ │ │ │ │ │ └── storage │ │ │ │ │ │ ├── HashMapBasedStorage.java │ │ │ │ │ │ └── Storage.java │ │ │ │ └── test │ │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── uditagarwal │ │ │ │ │ ├── CacheTest.java │ │ │ │ │ ├── algoritms │ │ │ │ │ └── DoublyLinkedListTest.java │ │ │ │ │ └── cache │ │ │ │ │ └── policies │ │ │ │ │ └── LRUEvictionPolicyTest.java │ │ │ ├── OnlineBookReaderSystem │ │ │ │ └── AppTest.java │ │ │ ├── OnlineBookReaderSystem2 │ │ │ │ └── DemoOnlineBookReaderSystem.java │ │ │ ├── ParkingLot │ │ │ │ ├── Car.java │ │ │ │ ├── Level.java │ │ │ │ ├── Main.java │ │ │ │ ├── Motorcycle.java │ │ │ │ ├── ParkingLot.java │ │ │ │ ├── ParkingSpot.java │ │ │ │ ├── Vehicle.java │ │ │ │ └── VehicleSize.java │ │ │ ├── ParkingLot2 │ │ │ │ ├── Account.java │ │ │ │ ├── AccountStatus.java │ │ │ │ ├── Address.java │ │ │ │ ├── Admin.java │ │ │ │ ├── Car.java │ │ │ │ ├── CompactSpot.java │ │ │ │ ├── Customer.java │ │ │ │ ├── Electric.java │ │ │ │ ├── ElectricSpot.java │ │ │ │ ├── EntryPanel.java │ │ │ │ ├── ExitPanel.java │ │ │ │ ├── HandicappedSpot.java │ │ │ │ ├── LargeSpot.java │ │ │ │ ├── MotorBike.java │ │ │ │ ├── MotorBikeSpot.java │ │ │ │ ├── ParkingAttendant.java │ │ │ │ ├── ParkingDisplayBoard.java │ │ │ │ ├── ParkingFloor.java │ │ │ │ ├── ParkingFullException.java │ │ │ │ ├── ParkingLot2.java │ │ │ │ ├── ParkingSpot.java │ │ │ │ ├── ParkingTicketStatus.java │ │ │ │ ├── Person.java │ │ │ │ ├── SpotType.java │ │ │ │ ├── Ticket.java │ │ │ │ ├── Truck.java │ │ │ │ ├── Vehicle.java │ │ │ │ └── VehicleType.java │ │ │ ├── ReservationSystem │ │ │ │ └── ReservationManager.java │ │ │ ├── SnakeAndLadder │ │ │ │ ├── DiceService.java │ │ │ │ ├── Driver.java │ │ │ │ ├── Ladder.java │ │ │ │ ├── Player.java │ │ │ │ ├── Snake.java │ │ │ │ ├── SnakeAndLadderBoard.java │ │ │ │ └── SnakeAndLadderService.java │ │ │ ├── SnakeGame │ │ │ │ ├── Board.java │ │ │ │ ├── Cell.java │ │ │ │ ├── CellType.java │ │ │ │ ├── Game.java │ │ │ │ └── Snake.java │ │ │ ├── SnakeGame2 │ │ │ │ ├── Board.java │ │ │ │ ├── BoardInterface.java │ │ │ │ ├── Cell.java │ │ │ │ ├── CellType.java │ │ │ │ ├── FactorySnakePattern.java │ │ │ │ ├── FoodInterface.java │ │ │ │ ├── FoodService.java │ │ │ │ ├── Game2.java │ │ │ │ └── Snake.java │ │ │ └── VendingMachine │ │ │ │ ├── Driver.java │ │ │ │ ├── InventoryService.java │ │ │ │ ├── InventoryServiceImpl.java │ │ │ │ ├── Item.java │ │ │ │ ├── Location.java │ │ │ │ ├── LoggingService.java │ │ │ │ ├── LoggingServiceImpl.java │ │ │ │ ├── MechanicalService.java │ │ │ │ ├── MechanicalServiceImpl.java │ │ │ │ ├── Payment.java │ │ │ │ ├── PaymentMethod.java │ │ │ │ ├── PaymentService.java │ │ │ │ ├── PaymentServiceImpl.java │ │ │ │ ├── VendingMachine.java │ │ │ │ └── VendingMachineFactory.java │ │ │ ├── Test │ │ │ ├── Altimetrik.java │ │ │ ├── Altimetriktest.java │ │ │ ├── FinalClassExample.java │ │ │ ├── InterfaceTesting │ │ │ │ ├── AbstractTest.java │ │ │ │ ├── Itest.java │ │ │ │ └── testImpl.java │ │ │ ├── Itesting2 │ │ │ │ ├── Engine.java │ │ │ │ ├── main.java │ │ │ │ ├── test33.java │ │ │ │ ├── test34.java │ │ │ │ └── test35.java │ │ │ ├── Solution.java │ │ │ ├── Test.java │ │ │ ├── Test2.java │ │ │ ├── Test4.java │ │ │ ├── TestParent.java │ │ │ ├── countSetBits.java │ │ │ └── e.java │ │ │ ├── Trie │ │ │ └── WordDictionary.java │ │ │ ├── dfs │ │ │ └── findMinLen.java │ │ │ ├── dp │ │ │ ├── bstTimetoBuySellCoolDown.java │ │ │ ├── coinChangeMin.java │ │ │ ├── decodeWays.java │ │ │ ├── editDistance.java │ │ │ ├── editDistanceWithOP.java │ │ │ ├── longestStringChain.java │ │ │ ├── noOfPaths.java │ │ │ ├── partitionSubSetstoSum.java │ │ │ └── wordBreak.java │ │ │ ├── one │ │ │ ├── SumNNum.java │ │ │ ├── revseGroups.java │ │ │ ├── sum.java │ │ │ └── wave.java │ │ │ └── sorting │ │ │ ├── DistantBarcodes.java │ │ │ ├── MergeSort │ │ │ └── MergeSort.java │ │ │ ├── QuickBars.java │ │ │ └── largestNumber.java │ └── README.md ├── Low-Level-Design-1 │ ├── .DS_Store │ ├── GenericProgramming │ │ ├── .idea │ │ │ ├── compiler.xml │ │ │ ├── description.html │ │ │ ├── encodings.xml │ │ │ ├── misc.xml │ │ │ ├── modules.xml │ │ │ ├── uiDesigner.xml │ │ │ ├── vcs.xml │ │ │ └── workspace.xml │ │ ├── GenericProgramming.iml │ │ └── src │ │ │ ├── GenericBound.java │ │ │ └── com │ │ │ └── apsdk │ │ │ └── common │ │ │ ├── api │ │ │ ├── ActualServiceImpl.java │ │ │ ├── BaseEntryPointServiceImpl.java │ │ │ └── EntryPointService.java │ │ │ └── model │ │ │ ├── ActualRequest.java │ │ │ ├── ActualResponse.java │ │ │ ├── BaseRequest.java │ │ │ └── BaseResponse.java │ ├── README.md │ ├── designBlackJack │ │ ├── BlackJackGameAutomator.java │ │ ├── Main.java │ │ ├── impl │ │ │ ├── BlackJackCard.java │ │ │ ├── BlackJackHand.java │ │ │ └── Test.java │ │ ├── models │ │ │ ├── Card.java │ │ │ ├── Deck.java │ │ │ ├── Hand.java │ │ │ └── Suit.java │ │ ├── readme │ │ └── util │ │ │ └── AssortedMethodsUtil.java │ ├── designLogger │ │ ├── MainClientRunner.java │ │ ├── api │ │ │ └── Logger.java │ │ ├── conf │ │ │ └── LoggerConfiguration.java │ │ ├── enums │ │ │ └── LoggerLevel.java │ │ ├── model │ │ │ └── Message.java │ │ └── strategy │ │ │ ├── SinkContext.java │ │ │ ├── SinkStrategy.java │ │ │ └── impl │ │ │ ├── ConsoleSinkStrategy.java │ │ │ ├── DatabaseSinkStrategy.java │ │ │ └── FileSinkStrategy.java │ ├── designMeetingScheduler │ │ ├── .DS_Store │ │ ├── Main.java │ │ ├── apsdk │ │ │ └── MeetingScheduler.java │ │ ├── externalclient │ │ │ └── SESClient.java │ │ ├── models │ │ │ ├── Attendee.java │ │ │ ├── Calendar.java │ │ │ ├── Meeting.java │ │ │ └── MeetingRoom.java │ │ └── service │ │ │ └── EmailService.java │ ├── designchess │ │ ├── controller │ │ │ └── Game.java │ │ ├── enums │ │ │ ├── Color.java │ │ │ ├── GameStatus.java │ │ │ └── PieceType.java │ │ ├── models │ │ │ ├── Cell.java │ │ │ ├── ChessBoard.java │ │ │ ├── Move.java │ │ │ ├── Piece.java │ │ │ ├── Player.java │ │ │ └── pieceimpl │ │ │ │ ├── Bishop.java │ │ │ │ ├── King.java │ │ │ │ ├── Knight.java │ │ │ │ ├── Pawn.java │ │ │ │ ├── Queen.java │ │ │ │ └── Rook.java │ │ └── readme │ ├── designpubsub │ │ ├── .DS_Store │ │ ├── Main.java │ │ ├── handlers │ │ │ ├── ConsumerRunner.java │ │ │ └── ConsumerWorker.java │ │ ├── models │ │ │ ├── Consumer.java │ │ │ ├── ConsumerGroup.java │ │ │ ├── Message.java │ │ │ ├── Partition.java │ │ │ └── Topic.java │ │ └── publicInterface │ │ │ └── MessageBroker.java │ ├── multilevelcache │ │ ├── .idea │ │ │ ├── compiler.xml │ │ │ ├── encodings.xml │ │ │ ├── misc.xml │ │ │ ├── sonarlint │ │ │ │ └── issuestore │ │ │ │ │ ├── 2 │ │ │ │ │ ├── 4 │ │ │ │ │ │ └── 24eac7ecab8aa0e7098a19ca9be8d6492464d947 │ │ │ │ │ └── e │ │ │ │ │ │ └── 2e5e8bc50ef1e6d0eb850d37c85284c20203138a │ │ │ │ │ ├── 3 │ │ │ │ │ └── c │ │ │ │ │ │ └── 3c155820408c1adf451542a1cdc2b802383de801 │ │ │ │ │ ├── 4 │ │ │ │ │ └── 4 │ │ │ │ │ │ └── 442292b8a7efeabbe4cc176709b833b1792140ec │ │ │ │ │ ├── 6 │ │ │ │ │ └── 8 │ │ │ │ │ │ └── 6815057b6b8cff78f89859ae1746b6cda3ac9d3f │ │ │ │ │ ├── 7 │ │ │ │ │ └── 0 │ │ │ │ │ │ └── 70eb94caf2d803f355067e8e0f41f51743cb9078 │ │ │ │ │ ├── 9 │ │ │ │ │ └── 7 │ │ │ │ │ │ └── 973a5f9edc035e188df9a956fc777b82685940d8 │ │ │ │ │ ├── a │ │ │ │ │ └── 0 │ │ │ │ │ │ └── a006f71d10bcf7c0ee4123a139a6bf4891370fab │ │ │ │ │ └── index.pb │ │ │ ├── vcs.xml │ │ │ └── workspace.xml │ │ ├── multilevelcache.iml │ │ ├── pom.xml │ │ └── src │ │ │ ├── main │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── org │ │ │ │ └── multilevelcache │ │ │ │ ├── model │ │ │ │ ├── LevelCacheData.java │ │ │ │ ├── ReadResponse.java │ │ │ │ ├── StatsResponse.java │ │ │ │ └── WriteResponse.java │ │ │ │ └── provider │ │ │ │ ├── ILevelCache.java │ │ │ │ └── MultiLevelCache.java │ │ │ └── readme.md │ ├── multilevelparkinglot │ │ ├── .idea │ │ │ ├── compiler.xml │ │ │ ├── encodings.xml │ │ │ ├── misc.xml │ │ │ ├── sonarlint │ │ │ │ └── issuestore │ │ │ │ │ ├── 0 │ │ │ │ │ ├── 2 │ │ │ │ │ │ └── 0280c1ac3b947d07ca4cf1c903a0a41b761dd750 │ │ │ │ │ └── c │ │ │ │ │ │ └── 0cc1840a65de6256fe53566d2842ed237c2cfa6c │ │ │ │ │ ├── 1 │ │ │ │ │ └── a │ │ │ │ │ │ └── 1ac2793dede00323e58c32024488bd3aa040e946 │ │ │ │ │ ├── 2 │ │ │ │ │ ├── a │ │ │ │ │ │ └── 2a31b3e245fea909e6997d3f1a976ce29998b33e │ │ │ │ │ └── f │ │ │ │ │ │ ├── 2f53aa83f45283abc3594b4bebe6d3971e98ae82 │ │ │ │ │ │ └── 2fd4a6856802c289fba885328445b03cf5a839e1 │ │ │ │ │ ├── 4 │ │ │ │ │ ├── 0 │ │ │ │ │ │ └── 4008a12d04d7c18fab58e234d3b36fb7fb899ec8 │ │ │ │ │ ├── 2 │ │ │ │ │ │ ├── 42a6bf3115d76f7ae0d28e949ecd08edf2530eed │ │ │ │ │ │ └── 42fbc2d4cce430821afa90ba04dcc11c46774605 │ │ │ │ │ ├── 4 │ │ │ │ │ │ ├── 442292b8a7efeabbe4cc176709b833b1792140ec │ │ │ │ │ │ └── 44390c0371db95d459f2f143164b7094b1ef3146 │ │ │ │ │ └── f │ │ │ │ │ │ └── 4f4db8b4216b03c6a2ba75e79ed1bda23aa0b2c7 │ │ │ │ │ ├── 5 │ │ │ │ │ ├── e │ │ │ │ │ │ └── 5ec0920bc29fd21064b6d61fef77dcfda806b09a │ │ │ │ │ └── f │ │ │ │ │ │ └── 5f042522c87e07949c71b530369b710d12c70b46 │ │ │ │ │ ├── 6 │ │ │ │ │ ├── 0 │ │ │ │ │ │ └── 606ab7742954ccf10e66a71354d1580ed1d0324b │ │ │ │ │ ├── 2 │ │ │ │ │ │ └── 6253c56df5ee624fbcb57050b68807e7812973a1 │ │ │ │ │ └── 9 │ │ │ │ │ │ └── 69bb6d6a5b3c3249963f73f60398b976a2a35ab5 │ │ │ │ │ ├── 7 │ │ │ │ │ └── 8 │ │ │ │ │ │ └── 783f2813c7fe72860ad3d93282e5dcc1123858fc │ │ │ │ │ ├── 9 │ │ │ │ │ ├── 0 │ │ │ │ │ │ ├── 90193ea3ae55356233b20b5d58e055ed6a33da63 │ │ │ │ │ │ └── 9030917aaa51f510a4275d891f39615e3ecda60b │ │ │ │ │ ├── 1 │ │ │ │ │ │ └── 9109e2a948d5eb5ef442118b5b8467b279b4502f │ │ │ │ │ ├── 5 │ │ │ │ │ │ └── 95d646559dc1747bd753a0a901a5d19a0ff2f928 │ │ │ │ │ └── f │ │ │ │ │ │ └── 9f681291316e22f5a88fb46b1056c41f303a2978 │ │ │ │ │ ├── a │ │ │ │ │ ├── 1 │ │ │ │ │ │ └── a1c44363c2cf3c56240e5668785d5b67f9ff2b3f │ │ │ │ │ └── b │ │ │ │ │ │ ├── ab8a3cb32466461581c6d2b81389c1b1bf1e69f9 │ │ │ │ │ │ └── abdf4c76da16a8218a96a3e94917a8292a6b4951 │ │ │ │ │ ├── b │ │ │ │ │ ├── 1 │ │ │ │ │ │ └── b1441740d3677c6b9823eefe946f7eb1b05994e8 │ │ │ │ │ ├── 3 │ │ │ │ │ │ ├── b35258373f6b90b7b4a76af71fbe7876b891fed1 │ │ │ │ │ │ └── b3a5ac14ec4a8beff7a02b5a5f66cb2a4c3be0b9 │ │ │ │ │ └── f │ │ │ │ │ │ └── bfbf48e253b14b829cdf7510c55cc8c44cd8175b │ │ │ │ │ ├── c │ │ │ │ │ ├── 5 │ │ │ │ │ │ └── c58c64d73a985d4feb9fcc86a0a8286c093b13eb │ │ │ │ │ ├── 7 │ │ │ │ │ │ └── c7b6e06c507ca36baedee1944ba10e1afc796a8a │ │ │ │ │ └── d │ │ │ │ │ │ ├── cd1a693d3632204be1f1f8242467a7e968a9705f │ │ │ │ │ │ └── cdbe0cdc01f6f6899a604dc63357adfc23894e3a │ │ │ │ │ ├── d │ │ │ │ │ ├── 4 │ │ │ │ │ │ └── d47c4e3c4a846af573e49bb052490345dc917572 │ │ │ │ │ ├── b │ │ │ │ │ │ └── dbaea59f020dc9c6fe87e1838fc84c9fff891742 │ │ │ │ │ └── c │ │ │ │ │ │ └── dc9c914e3aa8857bac7593d5a45da03ff7939364 │ │ │ │ │ ├── e │ │ │ │ │ └── b │ │ │ │ │ │ └── ebee4a33f321101605e91a872b00c6292e4ca764 │ │ │ │ │ ├── f │ │ │ │ │ └── 6 │ │ │ │ │ │ └── f6d90bc04762eeeb3b8af23b19267eedc2a664d1 │ │ │ │ │ └── index.pb │ │ │ ├── uiDesigner.xml │ │ │ └── workspace.xml │ │ ├── file_input.txt │ │ ├── multilevelparkinglot.iml │ │ ├── pom.xml │ │ ├── src │ │ │ ├── main │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── pc │ │ │ │ │ └── multilevelparkinglot │ │ │ │ │ ├── Main.java │ │ │ │ │ ├── OutputPrinter.java │ │ │ │ │ ├── ParkingLotRuner.java │ │ │ │ │ ├── commands │ │ │ │ │ ├── CommandExecutor.java │ │ │ │ │ ├── CommandExecutorFactory.java │ │ │ │ │ ├── CreateParkingLotCommandExecutor.java │ │ │ │ │ ├── ExitCommandExecutor.java │ │ │ │ │ ├── LeaveCommandExecutor.java │ │ │ │ │ └── ParkCommandExecutor.java │ │ │ │ │ ├── constant │ │ │ │ │ └── ParkingConstants.java │ │ │ │ │ ├── dao │ │ │ │ │ ├── ParkingDao.java │ │ │ │ │ └── ParkingLevelDao.java │ │ │ │ │ ├── db │ │ │ │ │ └── manager │ │ │ │ │ │ ├── InMemoryParkingLevelManager.java │ │ │ │ │ │ └── InMemoryParkingManager.java │ │ │ │ │ ├── enums │ │ │ │ │ ├── ErrorCode.java │ │ │ │ │ └── ProgramType.java │ │ │ │ │ ├── exception │ │ │ │ │ ├── InvalidCommandException.java │ │ │ │ │ ├── InvalidModeException.java │ │ │ │ │ └── ParkingLotException.java │ │ │ │ │ ├── mode │ │ │ │ │ ├── FileMode.java │ │ │ │ │ ├── InteractiveMode.java │ │ │ │ │ └── Mode.java │ │ │ │ │ ├── model │ │ │ │ │ ├── Car.java │ │ │ │ │ ├── Command.java │ │ │ │ │ ├── InteractiveRequest.java │ │ │ │ │ ├── ParkingLot.java │ │ │ │ │ ├── Request.java │ │ │ │ │ └── Vehicle.java │ │ │ │ │ ├── processor │ │ │ │ │ ├── ProcessorFactory.java │ │ │ │ │ └── data │ │ │ │ │ │ └── Request.java │ │ │ │ │ ├── service │ │ │ │ │ ├── AbstractService.java │ │ │ │ │ ├── MultiParkingService.java │ │ │ │ │ ├── ParkingService.java │ │ │ │ │ └── impl │ │ │ │ │ │ └── ParkingServiceImpl.java │ │ │ │ │ └── strategy │ │ │ │ │ ├── ParkingStrategy.java │ │ │ │ │ └── impl │ │ │ │ │ └── NearestParkingStrategy.java │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── pc │ │ │ │ └── multilevelparkinglot │ │ │ │ ├── .DS_Store │ │ │ │ ├── command │ │ │ │ └── CreateParkingLotCommandExecutorTest.java │ │ │ │ └── inmemory │ │ │ │ ├── .DS_Store │ │ │ │ └── test │ │ │ │ └── ParkingLevelTest.java │ │ └── target │ │ │ ├── classes │ │ │ └── com │ │ │ │ └── pc │ │ │ │ └── multilevelparkinglot │ │ │ │ ├── Main.class │ │ │ │ ├── OutputPrinter.class │ │ │ │ ├── commands │ │ │ │ ├── CommandExecutor.class │ │ │ │ ├── CommandExecutorFactory.class │ │ │ │ ├── CreateParkingLotCommandExecutor.class │ │ │ │ ├── ExitCommandExecutor.class │ │ │ │ ├── LeaveCommandExecutor.class │ │ │ │ └── ParkCommandExecutor.class │ │ │ │ ├── constant │ │ │ │ └── ParkingConstants.class │ │ │ │ ├── dao │ │ │ │ ├── ParkingDao.class │ │ │ │ └── ParkingLevelDao.class │ │ │ │ ├── db │ │ │ │ └── manager │ │ │ │ │ ├── InMemoryParkingLevelManager.class │ │ │ │ │ └── InMemoryParkingManager.class │ │ │ │ ├── enums │ │ │ │ ├── ErrorCode.class │ │ │ │ └── ProgramType.class │ │ │ │ ├── exception │ │ │ │ ├── InvalidCommandException.class │ │ │ │ ├── InvalidModeException.class │ │ │ │ └── ParkingLotException.class │ │ │ │ ├── mode │ │ │ │ ├── FileMode.class │ │ │ │ ├── InteractiveMode.class │ │ │ │ └── Mode.class │ │ │ │ ├── model │ │ │ │ ├── Car.class │ │ │ │ ├── Command.class │ │ │ │ ├── InteractiveRequest.class │ │ │ │ ├── ParkingLot.class │ │ │ │ ├── Request.class │ │ │ │ └── Vehicle.class │ │ │ │ ├── processor │ │ │ │ └── data │ │ │ │ │ └── Request.class │ │ │ │ ├── service │ │ │ │ ├── AbstractService.class │ │ │ │ ├── MultiParkingService.class │ │ │ │ ├── ParkingService.class │ │ │ │ └── impl │ │ │ │ │ └── ParkingServiceImpl.class │ │ │ │ └── strategy │ │ │ │ ├── ParkingStrategy.class │ │ │ │ └── impl │ │ │ │ └── NearestParkingStrategy.class │ │ │ ├── maven-archiver │ │ │ └── pom.properties │ │ │ ├── maven-status │ │ │ └── maven-compiler-plugin │ │ │ │ └── compile │ │ │ │ └── default-compile │ │ │ │ ├── createdFiles.lst │ │ │ │ └── inputFiles.lst │ │ │ └── parkingLot.jar │ ├── parkinglot_services │ │ ├── .DS_Store │ │ ├── controller │ │ │ └── ParkingLot.java │ │ ├── models │ │ │ ├── ParkingSlot.java │ │ │ ├── ParkingSlotState.java │ │ │ ├── ParkingSlotType.java │ │ │ ├── Ticket.java │ │ │ ├── Vehicle.java │ │ │ └── VehicleType.java │ │ └── service │ │ │ ├── ParkingService.java │ │ │ ├── PricingService.java │ │ │ └── SlotService.java │ ├── snakeandladder │ │ ├── SnakeAndLadderRunner.java │ │ ├── models │ │ │ ├── Ladder.java │ │ │ ├── Player.java │ │ │ ├── Snake.java │ │ │ └── SnakeAndLadderBoard.java │ │ ├── readme │ │ └── service │ │ │ ├── DiceService.java │ │ │ └── SnakeAndLadderService.java │ ├── texteditor │ │ ├── Action.java │ │ ├── impl │ │ │ └── SimpleTextEditor.java │ │ ├── main │ │ │ └── Main.java │ │ ├── models │ │ │ ├── CharacterNode.java │ │ │ └── Revision.java │ │ └── service │ │ │ └── ITextEditor.java │ └── vacuumcleaner │ │ ├── SimpleVacuumController.java │ │ ├── controller │ │ └── VacuumService.java │ │ ├── enums │ │ └── DirectionEnum.java │ │ ├── model │ │ └── Cell.java │ │ ├── request │ │ └── MoveRequest.java │ │ ├── template │ │ ├── BizBaseCallback.java │ │ └── BizTemplate.java │ │ └── validator │ │ ├── BasicParameterValidator.java │ │ └── ParameterValidator.java ├── LowLevel-design-2 │ ├── .DS_Store │ ├── .gitignore │ ├── .mvn │ │ └── wrapper │ │ │ ├── MavenWrapperDownloader.java │ │ │ ├── maven-wrapper.jar │ │ │ └── maven-wrapper.properties │ ├── mvnw │ ├── mvnw.cmd │ ├── pom.xml │ └── src │ │ ├── .DS_Store │ │ ├── main │ │ ├── .DS_Store │ │ ├── java │ │ │ ├── .DS_Store │ │ │ └── com │ │ │ │ ├── .DS_Store │ │ │ │ └── system │ │ │ │ ├── .DS_Store │ │ │ │ ├── Problem.java │ │ │ │ ├── design │ │ │ │ ├── .DS_Store │ │ │ │ ├── designpatterns │ │ │ │ │ ├── .DS_Store │ │ │ │ │ └── decorator │ │ │ │ │ │ ├── DeluxRoom.java │ │ │ │ │ │ ├── Main.java │ │ │ │ │ │ ├── Room.java │ │ │ │ │ │ ├── RoomHeaterDecorator.java │ │ │ │ │ │ ├── RoomServiceDecorator.java │ │ │ │ │ │ └── StandardRoom.java │ │ │ │ ├── ds │ │ │ │ │ └── graph │ │ │ │ │ │ └── dfs │ │ │ │ │ │ └── PlaneReservation.java │ │ │ │ ├── lld │ │ │ │ │ ├── .DS_Store │ │ │ │ │ ├── chess │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ └── model │ │ │ │ │ │ │ ├── Bishop.java │ │ │ │ │ │ │ ├── Board.java │ │ │ │ │ │ │ ├── Cell.java │ │ │ │ │ │ │ ├── King.java │ │ │ │ │ │ │ ├── Knight.java │ │ │ │ │ │ │ ├── Pawn.java │ │ │ │ │ │ │ ├── Piece.java │ │ │ │ │ │ │ ├── PieceColor.java │ │ │ │ │ │ │ ├── PieceType.java │ │ │ │ │ │ │ └── Rook.java │ │ │ │ │ ├── hotelbooking │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ └── db │ │ │ │ │ │ │ ├── Address.java │ │ │ │ │ │ │ ├── Facility.java │ │ │ │ │ │ │ ├── Hotel.java │ │ │ │ │ │ │ ├── Payment.java │ │ │ │ │ │ │ ├── Reservation.java │ │ │ │ │ │ │ ├── ReservationRoom.java │ │ │ │ │ │ │ ├── Room.java │ │ │ │ │ │ │ ├── RoomType.java │ │ │ │ │ │ │ ├── RoomTypeFacility.java │ │ │ │ │ │ │ └── User.java │ │ │ │ │ ├── jobscheduling │ │ │ │ │ │ ├── Machine.java │ │ │ │ │ │ ├── Main.java │ │ │ │ │ │ ├── Scheduler.java │ │ │ │ │ │ └── Task.java │ │ │ │ │ ├── library │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ ├── db │ │ │ │ │ │ │ ├── Account.java │ │ │ │ │ │ │ ├── Book.java │ │ │ │ │ │ │ ├── Booking.java │ │ │ │ │ │ │ ├── Fine.java │ │ │ │ │ │ │ ├── Person.java │ │ │ │ │ │ │ └── PersonBook.java │ │ │ │ │ │ └── model │ │ │ │ │ │ │ ├── Account.java │ │ │ │ │ │ │ ├── Admin.java │ │ │ │ │ │ │ ├── Book.java │ │ │ │ │ │ │ ├── Booking.java │ │ │ │ │ │ │ ├── BookingService.java │ │ │ │ │ │ │ ├── Librairan.java │ │ │ │ │ │ │ ├── Member.java │ │ │ │ │ │ │ └── Person.java │ │ │ │ │ ├── ratelimiter │ │ │ │ │ │ └── TokenBucket.java │ │ │ │ │ ├── snakeandladder │ │ │ │ │ │ └── model │ │ │ │ │ │ │ ├── Board.java │ │ │ │ │ │ │ ├── Cell.java │ │ │ │ │ │ │ ├── CellType.java │ │ │ │ │ │ │ ├── Game.java │ │ │ │ │ │ │ ├── Ladder.java │ │ │ │ │ │ │ ├── Player.java │ │ │ │ │ │ │ └── Snake.java │ │ │ │ │ ├── snakeandladder_v2 │ │ │ │ │ │ ├── Driver.java │ │ │ │ │ │ ├── model │ │ │ │ │ │ │ ├── Ladder.java │ │ │ │ │ │ │ ├── Player.java │ │ │ │ │ │ │ ├── Snake.java │ │ │ │ │ │ │ └── SnakeAndLadderBoard.java │ │ │ │ │ │ └── service │ │ │ │ │ │ │ ├── DiceService.java │ │ │ │ │ │ │ └── SnakeAndLadderService.java │ │ │ │ │ ├── snakegame │ │ │ │ │ │ └── model │ │ │ │ │ │ │ ├── Board.java │ │ │ │ │ │ │ ├── Cell.java │ │ │ │ │ │ │ ├── CellType.java │ │ │ │ │ │ │ ├── Game.java │ │ │ │ │ │ │ ├── Main.java │ │ │ │ │ │ │ └── Snake.java │ │ │ │ │ └── tictactoe │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ └── model │ │ │ │ │ │ ├── Board.java │ │ │ │ │ │ ├── Constants.java │ │ │ │ │ │ ├── Game.java │ │ │ │ │ │ ├── Main.java │ │ │ │ │ │ ├── Move.java │ │ │ │ │ │ ├── PieceEnum.java │ │ │ │ │ │ └── Player.java │ │ │ │ ├── oops │ │ │ │ │ ├── .DS_Store │ │ │ │ │ ├── amazon │ │ │ │ │ │ ├── Account.java │ │ │ │ │ │ ├── AccountStatus.java │ │ │ │ │ │ ├── Address.java │ │ │ │ │ │ ├── Catalog.java │ │ │ │ │ │ ├── CreditCard.java │ │ │ │ │ │ ├── Customer.java │ │ │ │ │ │ ├── ElectronicBankTransfer.java │ │ │ │ │ │ ├── Guest.java │ │ │ │ │ │ ├── Item.java │ │ │ │ │ │ ├── Items.java │ │ │ │ │ │ ├── Member.java │ │ │ │ │ │ ├── Notification.java │ │ │ │ │ │ ├── Order.java │ │ │ │ │ │ ├── OrderLog.java │ │ │ │ │ │ ├── OrderStatus.java │ │ │ │ │ │ ├── Payment.java │ │ │ │ │ │ ├── PaymentStatus.java │ │ │ │ │ │ ├── Product.java │ │ │ │ │ │ ├── ProductCategory.java │ │ │ │ │ │ ├── ProductReview.java │ │ │ │ │ │ ├── Search.java │ │ │ │ │ │ ├── Shipment.java │ │ │ │ │ │ ├── ShipmentLog.java │ │ │ │ │ │ ├── ShipmentStatus.java │ │ │ │ │ │ └── ShoppingCart.java │ │ │ │ │ ├── atm │ │ │ │ │ │ ├── ATM.java │ │ │ │ │ │ ├── Account.java │ │ │ │ │ │ ├── Address.java │ │ │ │ │ │ ├── BalanceInquiry.java │ │ │ │ │ │ ├── Bank.java │ │ │ │ │ │ ├── Card.java │ │ │ │ │ │ ├── CashDeposit.java │ │ │ │ │ │ ├── CashDepositSlot.java │ │ │ │ │ │ ├── CashDispenser.java │ │ │ │ │ │ ├── CheckDeposit.java │ │ │ │ │ │ ├── CheckDepositSlot.java │ │ │ │ │ │ ├── CheckingAccount.java │ │ │ │ │ │ ├── Customer.java │ │ │ │ │ │ ├── CustomerStatus.java │ │ │ │ │ │ ├── Deposit.java │ │ │ │ │ │ ├── DepositSlot.java │ │ │ │ │ │ ├── Keypad.java │ │ │ │ │ │ ├── Printer.java │ │ │ │ │ │ ├── SavingAccount.java │ │ │ │ │ │ ├── Screen.java │ │ │ │ │ │ ├── Transaction.java │ │ │ │ │ │ ├── TransactionStatus.java │ │ │ │ │ │ ├── TransactionType.java │ │ │ │ │ │ ├── Transfer.java │ │ │ │ │ │ └── Withdraw.java │ │ │ │ │ ├── bookmyshow │ │ │ │ │ │ ├── Address.java │ │ │ │ │ │ ├── Booking.java │ │ │ │ │ │ ├── City.java │ │ │ │ │ │ ├── Genre.java │ │ │ │ │ │ ├── Hall.java │ │ │ │ │ │ ├── Movie.java │ │ │ │ │ │ ├── MovieType.java │ │ │ │ │ │ ├── Payment.java │ │ │ │ │ │ ├── PaymentStatus.java │ │ │ │ │ │ ├── PaymentType.java │ │ │ │ │ │ ├── Seat.java │ │ │ │ │ │ ├── SeatType.java │ │ │ │ │ │ ├── Show.java │ │ │ │ │ │ ├── ShowSeat.java │ │ │ │ │ │ └── Theatre.java │ │ │ │ │ ├── bookmyshow2 │ │ │ │ │ │ ├── Account.java │ │ │ │ │ │ ├── AccountStatus.java │ │ │ │ │ │ ├── Address.java │ │ │ │ │ │ ├── Admin.java │ │ │ │ │ │ ├── Booking.java │ │ │ │ │ │ ├── BookingStatus.java │ │ │ │ │ │ ├── Catalog.java │ │ │ │ │ │ ├── Cinema.java │ │ │ │ │ │ ├── CinemaHall.java │ │ │ │ │ │ ├── CinemaHallSeat.java │ │ │ │ │ │ ├── City.java │ │ │ │ │ │ ├── Customer.java │ │ │ │ │ │ ├── FrontDeskOfficer.java │ │ │ │ │ │ ├── Guest.java │ │ │ │ │ │ ├── Movie.java │ │ │ │ │ │ ├── Payment.java │ │ │ │ │ │ ├── PaymentStatus.java │ │ │ │ │ │ ├── Person.java │ │ │ │ │ │ ├── Search.java │ │ │ │ │ │ ├── SeatType.java │ │ │ │ │ │ ├── Show.java │ │ │ │ │ │ └── ShowSeat.java │ │ │ │ │ ├── chessv1 │ │ │ │ │ │ ├── Account.java │ │ │ │ │ │ ├── AccountStatus.java │ │ │ │ │ │ ├── Address.java │ │ │ │ │ │ ├── Bishop.java │ │ │ │ │ │ ├── Board.java │ │ │ │ │ │ ├── Box.java │ │ │ │ │ │ ├── Game.java │ │ │ │ │ │ ├── GameStatus.java │ │ │ │ │ │ ├── King.java │ │ │ │ │ │ ├── Knight.java │ │ │ │ │ │ ├── Move.java │ │ │ │ │ │ ├── Pawn.java │ │ │ │ │ │ ├── Person.java │ │ │ │ │ │ ├── Piece.java │ │ │ │ │ │ ├── Player.java │ │ │ │ │ │ └── Rook.java │ │ │ │ │ ├── parkinglot │ │ │ │ │ │ ├── Account.java │ │ │ │ │ │ ├── AccountStatus.java │ │ │ │ │ │ ├── Address.java │ │ │ │ │ │ ├── Admin.java │ │ │ │ │ │ ├── Car.java │ │ │ │ │ │ ├── CompactSpot.java │ │ │ │ │ │ ├── CustomerInfoPanel.java │ │ │ │ │ │ ├── CustomerInfoPortal.java │ │ │ │ │ │ ├── ElectricSpot.java │ │ │ │ │ │ ├── EntrancePanel.java │ │ │ │ │ │ ├── ExitPanel.java │ │ │ │ │ │ ├── HandicappedSpot.java │ │ │ │ │ │ ├── LargeSpot.java │ │ │ │ │ │ ├── Location.java │ │ │ │ │ │ ├── MotorbikeSpot.java │ │ │ │ │ │ ├── ParkingAttendant.java │ │ │ │ │ │ ├── ParkingDisplayBoard.java │ │ │ │ │ │ ├── ParkingFloor.java │ │ │ │ │ │ ├── ParkingFullException.java │ │ │ │ │ │ ├── ParkingLot.java │ │ │ │ │ │ ├── ParkingRate.java │ │ │ │ │ │ ├── ParkingSpot.java │ │ │ │ │ │ ├── ParkingSpotType.java │ │ │ │ │ │ ├── ParkingTicket.java │ │ │ │ │ │ ├── ParkingTicketStatus.java │ │ │ │ │ │ ├── Person.java │ │ │ │ │ │ ├── Truck.java │ │ │ │ │ │ ├── Van.java │ │ │ │ │ │ ├── Vehicle.java │ │ │ │ │ │ └── VehicleType.java │ │ │ │ │ └── stackoverflow │ │ │ │ │ │ ├── Account.java │ │ │ │ │ │ ├── AccountStatus.java │ │ │ │ │ │ ├── Address.java │ │ │ │ │ │ ├── Admin.java │ │ │ │ │ │ ├── Answer.java │ │ │ │ │ │ ├── Badge.java │ │ │ │ │ │ ├── Bounty.java │ │ │ │ │ │ ├── Comment.java │ │ │ │ │ │ ├── Member.java │ │ │ │ │ │ ├── Moderator.java │ │ │ │ │ │ ├── Notification.java │ │ │ │ │ │ ├── Photo.java │ │ │ │ │ │ ├── Question.java │ │ │ │ │ │ ├── QuestionClosingRemark.java │ │ │ │ │ │ ├── QuestionStatus.java │ │ │ │ │ │ ├── Search.java │ │ │ │ │ │ └── Tag.java │ │ │ │ └── systemdesign │ │ │ │ │ ├── .DS_Store │ │ │ │ │ ├── SystemDesignApplication.java │ │ │ │ │ ├── chess │ │ │ │ │ ├── Bishop.java │ │ │ │ │ ├── Board.java │ │ │ │ │ ├── Cell.java │ │ │ │ │ ├── King.java │ │ │ │ │ ├── Knight.java │ │ │ │ │ ├── Pawn.java │ │ │ │ │ ├── Piece.java │ │ │ │ │ ├── PieceColor.java │ │ │ │ │ ├── PieceType.java │ │ │ │ │ ├── Rook.java │ │ │ │ │ └── Temp.java │ │ │ │ │ ├── directorystructure │ │ │ │ │ ├── Directory.java │ │ │ │ │ ├── Entity.java │ │ │ │ │ ├── File.java │ │ │ │ │ └── Main.java │ │ │ │ │ ├── meetingscheduler │ │ │ │ │ ├── Meeting.java │ │ │ │ │ └── MeetingScheduler.java │ │ │ │ │ ├── shoppingcart │ │ │ │ │ ├── OfferProduct.java │ │ │ │ │ └── ShoppingCart.java │ │ │ │ │ ├── snake │ │ │ │ │ ├── Board.java │ │ │ │ │ ├── Cell.java │ │ │ │ │ ├── CellType.java │ │ │ │ │ ├── Game.java │ │ │ │ │ └── Snake.java │ │ │ │ │ └── tictactoe │ │ │ │ │ └── TicTacToe.java │ │ │ │ ├── lintcode │ │ │ │ └── .DS_Store │ │ │ │ └── skillzena │ │ │ │ └── Test.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── system │ │ └── design │ │ └── systemdesign │ │ └── SystemDesignApplicationTests.java ├── LowLevelCacheDesign │ ├── .DS_Store │ └── lld-cache │ │ ├── .DS_Store │ │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── jarRepositories.xml │ │ ├── lld-cache.iml │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── uiDesigner.xml │ │ └── vcs.xml │ │ ├── lld-cache.iml │ │ ├── pom.xml │ │ ├── src │ │ ├── .DS_Store │ │ ├── main │ │ │ ├── .DS_Store │ │ │ └── java │ │ │ │ ├── .DS_Store │ │ │ │ ├── Main.java │ │ │ │ ├── algorithms │ │ │ │ ├── DoublyLinkedList.java │ │ │ │ └── DoublyLinkedListNode.java │ │ │ │ └── cache │ │ │ │ ├── .DS_Store │ │ │ │ ├── Cache.java │ │ │ │ ├── exceptions │ │ │ │ ├── InvalidElementException.java │ │ │ │ ├── NotFoundException.java │ │ │ │ └── StorageFullException.java │ │ │ │ ├── policies │ │ │ │ ├── EvictionPolicy.java │ │ │ │ └── LRUEvictionPolicy.java │ │ │ │ └── storage │ │ │ │ ├── HashMapBasedStorage.java │ │ │ │ └── Storage.java │ │ └── test │ │ │ ├── .DS_Store │ │ │ └── java │ │ │ ├── .DS_Store │ │ │ └── cache │ │ │ ├── .DS_Store │ │ │ └── policies │ │ │ └── LRUEvictionPolicyTest.java │ │ └── target │ │ ├── classes │ │ ├── .DS_Store │ │ ├── Main.class │ │ ├── algorithms │ │ │ ├── DoublyLinkedList.class │ │ │ └── DoublyLinkedListNode.class │ │ └── cache │ │ │ ├── .DS_Store │ │ │ ├── Cache.class │ │ │ ├── exceptions │ │ │ ├── InvalidElementException.class │ │ │ ├── NotFoundException.class │ │ │ └── StorageFullException.class │ │ │ ├── policies │ │ │ ├── EvictionPolicy.class │ │ │ └── LRUEvictionPolicy.class │ │ │ └── storage │ │ │ ├── HashMapBasedStorage.class │ │ │ └── Storage.class │ │ └── test-classes │ │ ├── .DS_Store │ │ └── cache │ │ ├── .DS_Store │ │ └── policies │ │ └── LRUEvictionPolicyTest.class ├── Machine_coding_FLIPKART │ ├── .DS_Store │ ├── DriverAndRiderApplication.zip │ ├── ErrorFinderApplication.zip │ ├── ErrorFinderApplication │ │ ├── .classpath │ │ ├── .idea │ │ │ ├── .name │ │ │ ├── misc.xml │ │ │ ├── modules.xml │ │ │ └── workspace.xml │ │ ├── .project │ │ ├── .settings │ │ │ └── org.springframework.ide.eclipse.prefs │ │ ├── bin │ │ │ └── com │ │ │ │ └── flipkart │ │ │ │ └── errorsystem │ │ │ │ ├── CycleDetectorPackage │ │ │ │ └── CycleDetector.class │ │ │ │ ├── ErrorDetectorPackage │ │ │ │ └── ErrorDetector.class │ │ │ │ ├── Main.class │ │ │ │ ├── PairPackage │ │ │ │ └── Pair.class │ │ │ │ └── degreeCalculatorPackage │ │ │ │ ├── IndegreeDetect.class │ │ │ │ └── OutDegreeDetector.class │ │ ├── src │ │ │ └── com │ │ │ │ └── flipkart │ │ │ │ └── errorsystem │ │ │ │ ├── CycleDetectorPackage │ │ │ │ └── CycleDetector.java │ │ │ │ ├── ErrorDetectorPackage │ │ │ │ └── ErrorDetector.java │ │ │ │ ├── Main.java │ │ │ │ ├── PairPackage │ │ │ │ └── Pair.java │ │ │ │ └── degreeCalculatorPackage │ │ │ │ ├── IndegreeDetect.java │ │ │ │ └── OutDegreeDetector.java │ │ └── test │ │ │ └── com │ │ │ └── flipkart │ │ │ └── errorsystem │ │ │ ├── CycleDetectorPackage │ │ │ └── CycleDetectorTest.java │ │ │ ├── ErrorDetectorPackage │ │ │ └── ErrorDetectorTest.java │ │ │ ├── PairPackage │ │ │ └── PairTest.java │ │ │ └── degreeCalculatorPackage │ │ │ ├── IndegreeDetectTest.java │ │ │ └── OutDegreeDetectorTest.java │ ├── Order-Booking-System.zip │ ├── Order-Booking-System │ │ ├── .DS_Store │ │ ├── .classpath │ │ ├── .idea │ │ │ ├── .name │ │ │ ├── misc.xml │ │ │ ├── modules.xml │ │ │ └── workspace.xml │ │ ├── .project │ │ ├── .settings │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── README.md │ │ ├── SimpleOrderBookingSystem.iml │ │ ├── bin │ │ │ ├── MainClass.class │ │ │ └── com │ │ │ │ ├── flipart │ │ │ │ └── exception │ │ │ │ │ └── CustomException.class │ │ │ │ └── flipkart │ │ │ │ ├── catalog │ │ │ │ ├── Catalog.class │ │ │ │ ├── Category.class │ │ │ │ └── Product.class │ │ │ │ ├── orders │ │ │ │ ├── Order.class │ │ │ │ ├── OrderStatus.class │ │ │ │ └── Orders.class │ │ │ │ └── users │ │ │ │ ├── User.class │ │ │ │ └── Users.class │ │ └── src │ │ │ ├── .DS_Store │ │ │ ├── MainClass.class │ │ │ ├── MainClass.java │ │ │ └── com │ │ │ ├── .DS_Store │ │ │ ├── flipart │ │ │ └── exception │ │ │ │ ├── CustomException.class │ │ │ │ └── CustomException.java │ │ │ └── flipkart │ │ │ ├── .DS_Store │ │ │ ├── catalog │ │ │ ├── Catalog.class │ │ │ ├── Catalog.java │ │ │ ├── Category.class │ │ │ ├── Category.java │ │ │ ├── Product.class │ │ │ └── Product.java │ │ │ ├── orders │ │ │ ├── Order.class │ │ │ ├── Order.java │ │ │ ├── OrderStatus.class │ │ │ ├── OrderStatus.java │ │ │ ├── Orders.class │ │ │ └── Orders.java │ │ │ └── users │ │ │ ├── User.class │ │ │ ├── User.java │ │ │ ├── Users.class │ │ │ └── Users.java │ ├── README.md │ ├── TextPadApplication.zip │ ├── TextPadApplication │ │ ├── .DS_Store │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── bin │ │ │ ├── com │ │ │ │ ├── filpkart │ │ │ │ │ └── TextpadApplication │ │ │ │ │ │ ├── CommandNavigator │ │ │ │ │ │ └── CommandNavigation.class │ │ │ │ │ │ ├── Main.class │ │ │ │ │ │ ├── Service │ │ │ │ │ │ └── TextPadService.class │ │ │ │ │ │ └── TextPadAppClass.class │ │ │ │ └── flipkart │ │ │ │ │ └── TextpadApplication │ │ │ │ │ └── Model │ │ │ │ │ └── TextPadFunctionAbstract.class │ │ │ └── module-info.class │ │ └── src │ │ │ ├── .DS_Store │ │ │ ├── com │ │ │ ├── .DS_Store │ │ │ ├── filpkart │ │ │ │ ├── .DS_Store │ │ │ │ └── TextpadApplication │ │ │ │ │ ├── .DS_Store │ │ │ │ │ ├── CommandNavigator │ │ │ │ │ └── CommandNavigation.java │ │ │ │ │ ├── Main.java │ │ │ │ │ ├── Service │ │ │ │ │ └── TextPadService.java │ │ │ │ │ └── TextPadAppClass.java │ │ │ └── flipkart │ │ │ │ ├── .DS_Store │ │ │ │ └── TextpadApplication │ │ │ │ ├── .DS_Store │ │ │ │ └── Model │ │ │ │ └── TextPadFunctionAbstract.java │ │ │ └── module-info.java │ ├── gif │ │ └── space.gif │ ├── pandemictracker.zip │ └── pendamictracker │ │ ├── .DS_Store │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ └── org.eclipse.jdt.core.prefs │ │ ├── bin │ │ └── com │ │ │ └── flipkart │ │ │ ├── application │ │ │ └── App.class │ │ │ ├── configuration │ │ │ └── Configuration.class │ │ │ ├── model │ │ │ ├── Disease.class │ │ │ ├── Location.class │ │ │ └── Person.class │ │ │ ├── repository │ │ │ └── Repository.class │ │ │ └── service │ │ │ ├── TrackerService.class │ │ │ └── TrendAnalysis.class │ │ └── src │ │ ├── .DS_Store │ │ └── com │ │ ├── .DS_Store │ │ └── flipkart │ │ ├── .DS_Store │ │ ├── application │ │ └── App.java │ │ ├── configuration │ │ └── Configuration.java │ │ ├── model │ │ ├── Disease.java │ │ ├── Location.java │ │ └── Person.java │ │ ├── repository │ │ └── Repository.java │ │ └── service │ │ ├── TrackerService.java │ │ └── TrendAnalysis.java ├── Multi-Level-Cache │ ├── .DS_Store │ ├── README.md │ ├── classes │ │ ├── com │ │ │ └── mlc │ │ │ │ ├── models │ │ │ │ ├── Cache.class │ │ │ │ └── LRUCache.class │ │ │ │ ├── services │ │ │ │ ├── CacheComparator.class │ │ │ │ └── MultiLevelCache.class │ │ │ │ └── view │ │ │ │ └── MainView.class │ │ ├── manifest.txt │ │ └── mlc.jar │ └── source │ │ └── com │ │ └── mlc │ │ ├── models │ │ ├── Cache.java │ │ └── LRUCache.java │ │ ├── services │ │ └── MultiLevelCache.java │ │ └── view │ │ └── MainView.java ├── OthelloGame │ ├── Design1.java │ └── Design2.java ├── ParkingLot1 │ ├── .DS_Store │ ├── README.md │ ├── domain │ │ ├── .DS_Store │ │ ├── Parking │ │ │ ├── Address.java │ │ │ ├── ParkingFloor.java │ │ │ ├── ParkingLot.java │ │ │ ├── ParkingSize.java │ │ │ ├── ParkingSpot.java │ │ │ ├── ParkingStatus.java │ │ │ └── ParkingType.java │ │ ├── User │ │ │ ├── Admin.java │ │ │ ├── Attendant.java │ │ │ ├── BaseUser.java │ │ │ ├── System.java │ │ │ └── User.java │ │ └── Vehicle │ │ │ ├── Car.java │ │ │ ├── Scooter.java │ │ │ ├── Truck.java │ │ │ ├── Vehicle.java │ │ │ ├── VehicleSize.java │ │ │ └── VehicleType.java │ └── services │ │ ├── DisplayService.java │ │ ├── ParkingClient.java │ │ ├── ParkingRequest.java │ │ ├── ParkingService.java │ │ ├── PaymentService.java │ │ └── RequestType.java ├── ProducerConsumerPatternUsingBlockingQueue │ ├── Consumer.java │ ├── MainDriver.java │ ├── Message.java │ └── Producer.java ├── RateLimiter │ ├── RedisService.java │ ├── SimpleThread.java │ └── SlidingWindowWithCounter.java ├── RuleMatcher │ ├── .idea │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── workspace.xml │ ├── RuleMatcher.iml │ └── src │ │ ├── Category.java │ │ ├── Container.java │ │ ├── Item.java │ │ ├── Rule.java │ │ ├── RuleMatchAnd.java │ │ ├── RuleMatcher.java │ │ └── RuleMatcherApplication.java ├── Scheduler │ ├── Job.java │ ├── JobStatus.java │ └── ScheduleDataService.java ├── SingleWriteMultipleReadLock │ ├── ConcurrentHashMap.java │ └── MainDriver.java ├── SnakeLadderGame │ ├── .DS_Store │ ├── README.md │ └── src │ │ ├── DiceService.java │ │ ├── Driver.java │ │ ├── Ladder.java │ │ ├── Player.java │ │ ├── Snake.java │ │ ├── SnakeAndLadderBoard.java │ │ └── SnakeAndLadderService.java ├── SnakesAndLadder │ ├── .DS_Store │ ├── README.md │ ├── SNLGamePlay.png │ ├── SampleInputs.txt │ ├── classes │ │ ├── com │ │ │ └── snl │ │ │ │ ├── models │ │ │ │ ├── NumberBox.class │ │ │ │ └── Player.class │ │ │ │ ├── services │ │ │ │ ├── DiceRoll.class │ │ │ │ └── Game.class │ │ │ │ └── view │ │ │ │ └── MainView.class │ │ ├── manifest.txt │ │ └── snl.jar │ └── source │ │ └── com │ │ └── snl │ │ ├── models │ │ ├── NumberBox.java │ │ └── Player.java │ │ ├── services │ │ ├── DiceRoll.java │ │ └── Game.java │ │ └── view │ │ └── MainView.java ├── SwiggyDeliveryBoy │ ├── .DS_Store │ ├── README.md │ ├── directions.txt │ └── src │ │ ├── Direction.java │ │ ├── DirectionCalculator.java │ │ ├── DistanceCalculator.java │ │ ├── Main.java │ │ └── Point.java ├── SwiggyInterview │ ├── .DS_Store │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── swiggy │ │ └── order │ │ └── stateslamonitor │ │ ├── constants │ │ └── OrderFinalStates.java │ │ ├── dto │ │ └── OrderStateChangeEventSRO.java │ │ ├── entity │ │ ├── OrderStateHisotry.java │ │ └── StateSla.java │ │ ├── jobs │ │ ├── BaseJob.java │ │ └── OrderStateSLAMonitoringJob.java │ │ ├── rabbitmq │ │ ├── IOrderStateSlaAlertService.java │ │ ├── OrderStateChangeListener.java │ │ └── OrderStateSlaAlertService.java │ │ ├── repository │ │ ├── OrderStateHistoryRepository.java │ │ └── StateSlaRepository.java │ │ └── service │ │ ├── IMonitorOrderStateSlaService.java │ │ ├── IOrderStateChangeHandlerService.java │ │ ├── MonitorOrderStateSlaService.java │ │ └── OrderStateChangeHandlerService.java ├── System-design │ ├── .DS_Store │ ├── BookMyShow │ │ ├── BMS.java │ │ └── SmartSelect_20210303-002905_Samsung Notes.jpg │ ├── Comparable vs Comparator │ │ ├── SmartSelect_20210212-235655_Samsung Notes.jpg │ │ ├── SortComparable.java │ │ └── SortComparator.java │ ├── Factory Design Pattern │ │ ├── Circle.java │ │ ├── FactoryPatternDemo.java │ │ ├── Rectangle.java │ │ ├── Shape.java │ │ ├── ShapeFactory.java │ │ ├── Sqaure.java │ │ └── factory.PNG │ ├── FileSystem │ │ ├── Entry.java │ │ ├── File.java │ │ ├── Folder.java │ │ ├── Search.java │ │ └── SearchUtil.java │ ├── Inheritance │ │ ├── Abstraction.java │ │ ├── Inheritance1.java │ │ ├── Overloading.java │ │ └── Overriding.java │ ├── Multithreading │ │ ├── part1 │ │ │ ├── Hello.java │ │ │ ├── Hi.java │ │ │ └── ThreadDemo.java │ │ ├── part2 │ │ │ ├── Hello.java │ │ │ ├── Hi.java │ │ │ └── ThreadUsingInterface.java │ │ └── part3 │ │ │ ├── ThreadLambdaExpression.java │ │ │ └── ThreadWithoutLambda.java │ ├── README.md │ ├── SingletonConcept │ │ ├── Main.java │ │ └── Singleton.java │ ├── Snake and Ladder │ │ ├── DiceService.java │ │ ├── Driver.java │ │ ├── Ladder.java │ │ ├── Player.java │ │ ├── Snake.java │ │ ├── SnakeAndLadderBoard.java │ │ └── SnakeAndLadderService.java │ ├── TicTacToe │ │ ├── Driver.java │ │ ├── TicTacToeBoard.java │ │ ├── TicTacToeLogic.java │ │ ├── TicTacToeService.java │ │ └── User.java │ ├── VendingMachine │ │ ├── Amount.java │ │ ├── Item.java │ │ ├── MainService.java │ │ ├── User.java │ │ ├── vendingMachine.java │ │ └── vendingMachineImpl.java │ ├── online_book_reader_system │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── bin │ │ │ ├── module-info.class │ │ │ └── online_book_reader_system │ │ │ │ ├── AppTest.class │ │ │ │ ├── Book.class │ │ │ │ ├── Display.class │ │ │ │ ├── Library.class │ │ │ │ ├── OnlineReaderSystem.class │ │ │ │ ├── User.class │ │ │ │ └── UserManager.class │ │ └── src │ │ │ ├── module-info.java │ │ │ └── online_book_reader_system │ │ │ ├── AppTest.java │ │ │ ├── Book.java │ │ │ ├── Display.java │ │ │ ├── Library.java │ │ │ ├── OnlineReaderSystem.java │ │ │ ├── User.java │ │ │ └── UserManager.java │ └── oops1 │ │ ├── Earth.java │ │ └── Human.java ├── SystemDesign │ ├── .DS_Store │ ├── ElevatorDesign │ │ ├── Constants.java │ │ ├── Elevator.java │ │ ├── ElevatorController.java │ │ ├── ElevatorEventListener.java │ │ └── IElevatorController.java │ ├── ElevatorDesign2 │ │ ├── .DS_Store │ │ ├── ecs │ │ │ ├── .DS_Store │ │ │ ├── IElevator.java │ │ │ ├── IElevatorControlSystem.java │ │ │ ├── enums │ │ │ │ ├── ElevatorDirection.java │ │ │ │ └── ElevatorStatus.java │ │ │ └── impl │ │ │ │ ├── Elevator.java │ │ │ │ └── ElevatorControlSystem.java │ │ └── simulate │ │ │ └── ElevatorSimulation.java │ ├── JukeBox │ │ ├── Artist.java │ │ ├── CD.java │ │ ├── CDPlayer.java │ │ ├── Gender.java │ │ ├── JukeBox.java │ │ ├── Person.java │ │ ├── PlayList.java │ │ ├── Song.java │ │ └── User.java │ ├── LibraryManagementSystem │ │ ├── AccountStatus.java │ │ ├── Address.java │ │ ├── Author.java │ │ ├── Book.java │ │ ├── BookFormat.java │ │ ├── BookItem.java │ │ ├── BookLending.java │ │ ├── BookReservation.java │ │ ├── BookStatus.java │ │ ├── Catalog.java │ │ ├── Constants.java │ │ ├── Fine.java │ │ ├── Person.java │ │ ├── Rack.java │ │ ├── ReservationStatus.java │ │ ├── Search.java │ │ └── de.java │ ├── LogisticsDesign │ │ ├── Apptest.java │ │ ├── Bike.java │ │ ├── Item.java │ │ ├── Location.java │ │ ├── LogisticsSystem.java │ │ ├── Order.java │ │ ├── OrderPriority.java │ │ ├── OrderStatus.java │ │ ├── PaymentDetails.java │ │ ├── PaymentMode.java │ │ ├── PaymentStatus.java │ │ ├── User.java │ │ ├── Vehicle.java │ │ └── VehicleStatus.java │ ├── LowLevelCacheDesign │ │ ├── .DS_Store │ │ ├── main │ │ │ ├── .DS_Store │ │ │ └── java │ │ │ │ ├── .DS_Store │ │ │ │ └── com │ │ │ │ ├── .DS_Store │ │ │ │ ├── Main.java │ │ │ │ ├── algoritms │ │ │ │ ├── .DS_Store │ │ │ │ ├── DoublyLinkedList.java │ │ │ │ ├── DoublyLinkedListNode.java │ │ │ │ └── exceptions │ │ │ │ │ ├── InvalidElementException.java │ │ │ │ │ └── InvalidNodeException.java │ │ │ │ └── cache │ │ │ │ ├── .DS_Store │ │ │ │ ├── Cache.java │ │ │ │ ├── exceptions │ │ │ │ ├── NotFoundException.java │ │ │ │ └── StorageFullException.java │ │ │ │ ├── factories │ │ │ │ └── CacheFactory.java │ │ │ │ ├── policies │ │ │ │ ├── EvictionPolicy.java │ │ │ │ └── LRUEvictionPolicy.java │ │ │ │ └── storage │ │ │ │ ├── HashMapBasedStorage.java │ │ │ │ └── Storage.java │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── uditagarwal │ │ │ ├── CacheTest.java │ │ │ ├── algoritms │ │ │ └── DoublyLinkedListTest.java │ │ │ └── cache │ │ │ └── policies │ │ │ └── LRUEvictionPolicyTest.java │ ├── OnlineBookReaderSystem │ │ └── AppTest.java │ ├── OnlineBookReaderSystem2 │ │ └── DemoOnlineBookReaderSystem.java │ ├── ParkingLot │ │ ├── Car.java │ │ ├── Level.java │ │ ├── Main.java │ │ ├── Motorcycle.java │ │ ├── ParkingLot.java │ │ ├── ParkingSpot.java │ │ ├── Vehicle.java │ │ └── VehicleSize.java │ ├── ParkingLot2 │ │ ├── Account.java │ │ ├── AccountStatus.java │ │ ├── Address.java │ │ ├── Admin.java │ │ ├── Car.java │ │ ├── CompactSpot.java │ │ ├── Customer.java │ │ ├── Electric.java │ │ ├── ElectricSpot.java │ │ ├── EntryPanel.java │ │ ├── ExitPanel.java │ │ ├── HandicappedSpot.java │ │ ├── LargeSpot.java │ │ ├── MotorBike.java │ │ ├── MotorBikeSpot.java │ │ ├── ParkingAttendant.java │ │ ├── ParkingDisplayBoard.java │ │ ├── ParkingFloor.java │ │ ├── ParkingFullException.java │ │ ├── ParkingLot2.java │ │ ├── ParkingSpot.java │ │ ├── ParkingTicketStatus.java │ │ ├── Person.java │ │ ├── SpotType.java │ │ ├── Ticket.java │ │ ├── Truck.java │ │ ├── Vehicle.java │ │ └── VehicleType.java │ ├── ReservationSystem │ │ └── ReservationManager.java │ ├── SnakeAndLadder │ │ ├── DiceService.java │ │ ├── Driver.java │ │ ├── Ladder.java │ │ ├── Player.java │ │ ├── Snake.java │ │ ├── SnakeAndLadderBoard.java │ │ └── SnakeAndLadderService.java │ ├── SnakeGame │ │ ├── Board.java │ │ ├── Cell.java │ │ ├── CellType.java │ │ ├── Game.java │ │ └── Snake.java │ ├── SnakeGame2 │ │ ├── Board.java │ │ ├── BoardInterface.java │ │ ├── Cell.java │ │ ├── CellType.java │ │ ├── FactorySnakePattern.java │ │ ├── FoodInterface.java │ │ ├── FoodService.java │ │ ├── Game2.java │ │ └── Snake.java │ └── VendingMachine │ │ ├── Driver.java │ │ ├── InventoryService.java │ │ ├── InventoryServiceImpl.java │ │ ├── Item.java │ │ ├── Location.java │ │ ├── LoggingService.java │ │ ├── LoggingServiceImpl.java │ │ ├── MechanicalService.java │ │ ├── MechanicalServiceImpl.java │ │ ├── Payment.java │ │ ├── PaymentMethod.java │ │ ├── PaymentService.java │ │ ├── PaymentServiceImpl.java │ │ ├── VendingMachine.java │ │ └── VendingMachineFactory.java ├── T9Dictionary │ ├── T9Dictionary.java │ └── data.txt ├── Text_editor_DLL │ ├── .idea │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── workspace.xml │ ├── Text_editor_DLL.iml │ └── src │ │ └── TextEditor.java ├── TicTacToe │ ├── Board.java │ ├── Computer.java │ ├── Game.java │ ├── Human.java │ ├── Player.java │ └── TicTacToe.java ├── UrlShortern │ └── TinyUrlShortern.java ├── amazon_new │ ├── Account.java │ ├── AccountStatus.java │ ├── Address.java │ ├── Buyer.java │ ├── Cart.java │ ├── Customer.java │ ├── Guest.java │ ├── Item.java │ ├── Member.java │ ├── Message.java │ ├── NotificationService.java │ ├── Order.java │ ├── OrderLog.java │ ├── OrderStatus.java │ ├── PaymentStatus.java │ ├── PaymentType.java │ ├── Product.java │ ├── ProductCategory.java │ ├── ProductReview.java │ ├── Search.java │ └── Seller.java ├── bookmyshow │ ├── .DS_Store │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── settings.gradle │ └── src │ │ ├── .DS_Store │ │ ├── main │ │ ├── .DS_Store │ │ ├── java │ │ │ ├── .DS_Store │ │ │ └── lowleveldesign │ │ │ │ ├── .DS_Store │ │ │ │ └── bookmyshow │ │ │ │ ├── .DS_Store │ │ │ │ └── api │ │ │ │ ├── .DS_Store │ │ │ │ ├── BookMyShowApplication.java │ │ │ │ └── core │ │ │ │ ├── .DS_Store │ │ │ │ ├── entities │ │ │ │ ├── Address.java │ │ │ │ ├── Auditorium.java │ │ │ │ ├── AuditoriumFeature.java │ │ │ │ ├── Booking.java │ │ │ │ ├── CBFCRating.java │ │ │ │ ├── Cinema.java │ │ │ │ ├── Coupon.java │ │ │ │ ├── Director.java │ │ │ │ ├── Gender.java │ │ │ │ ├── Genre.java │ │ │ │ ├── Movie.java │ │ │ │ ├── MovieShow.java │ │ │ │ ├── Role.java │ │ │ │ ├── Seat.java │ │ │ │ ├── SeatFeature.java │ │ │ │ ├── ShowSeat.java │ │ │ │ ├── ShowSeatStatus.java │ │ │ │ ├── User.java │ │ │ │ ├── address │ │ │ │ │ ├── Circle.java │ │ │ │ │ ├── Continent.java │ │ │ │ │ ├── Country.java │ │ │ │ │ ├── District.java │ │ │ │ │ ├── Division.java │ │ │ │ │ ├── PinCode.java │ │ │ │ │ ├── PoliceStation.java │ │ │ │ │ ├── Region.java │ │ │ │ │ ├── State.java │ │ │ │ │ ├── SubDistrict.java │ │ │ │ │ ├── Taluk.java │ │ │ │ │ └── Zone.java │ │ │ │ └── base │ │ │ │ │ └── BaseAbstractAuditableEntity.java │ │ │ │ ├── repositories │ │ │ │ └── MovieRepository.java │ │ │ │ ├── services │ │ │ │ ├── IBookingService.java │ │ │ │ ├── ICouponService.java │ │ │ │ └── implementations │ │ │ │ │ └── CouponService.java │ │ │ │ └── utils │ │ │ │ ├── .DS_Store │ │ │ │ └── comparators │ │ │ │ └── CouponComparatorOnDiscountDescending.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── lowleveldesign │ │ └── .DS_Store ├── cache-low-level-design │ ├── .DS_Store │ ├── LICENSE │ ├── README.md │ ├── class diagram │ │ └── cache-low-level-design.png │ ├── pom.xml │ └── src │ │ ├── .DS_Store │ │ ├── main │ │ ├── .DS_Store │ │ └── java │ │ │ ├── .DS_Store │ │ │ └── com │ │ │ ├── .DS_Store │ │ │ └── company │ │ │ ├── .DS_Store │ │ │ ├── Main.java │ │ │ ├── algorithm │ │ │ ├── DoublyLinkedList.java │ │ │ ├── DoublyLinkedListNode.java │ │ │ └── exception │ │ │ │ └── InvalidElementException.java │ │ │ └── cache │ │ │ ├── .DS_Store │ │ │ ├── Cache.java │ │ │ ├── exception │ │ │ ├── NotFoundException.java │ │ │ └── StorageFullException.java │ │ │ ├── factory │ │ │ └── CacheFactory.java │ │ │ ├── policies │ │ │ ├── EvictionPolicy.java │ │ │ └── LRUEvictionPolicy.java │ │ │ └── storage │ │ │ ├── HashMapBasedStorage.java │ │ │ └── Storage.java │ │ └── test │ │ └── java │ │ ├── algorithm │ │ └── DoublyLinkedListTest.java │ │ └── cache │ │ ├── CacheTest.java │ │ └── policies │ │ └── LRUEvictionPolicyTest.java ├── chessGame │ ├── Account.java │ ├── Bishop.java │ ├── Cell.java │ ├── CellPosition.java │ ├── ChessBoard.java │ ├── Color.java │ ├── GameStatus.java │ ├── King.java │ ├── Knight.java │ ├── Move.java │ ├── Pawn.java │ ├── Piece.java │ ├── Player.java │ ├── Queen.java │ ├── Rook.java │ ├── Time.java │ └── chessGame.java ├── chessGame_new │ ├── Account.java │ ├── Bishop.java │ ├── Cell.java │ ├── CellPosition.java │ ├── ChessBoard.java │ ├── Color.java │ ├── GameStatus.java │ ├── King.java │ ├── Knight.java │ ├── Move.java │ ├── Pawn.java │ ├── Piece.java │ ├── Player.java │ ├── Queen.java │ ├── Rook.java │ ├── Time.java │ └── chessGame.java ├── cricket-scorecard │ ├── .DS_Store │ ├── .idea │ │ ├── compiler.xml │ │ ├── encodings.xml │ │ ├── misc.xml │ │ ├── sonarlint │ │ │ └── issuestore │ │ │ │ ├── 0 │ │ │ │ └── d │ │ │ │ │ └── 0d4588dc5cece98670cffe1577b0720b04f05469 │ │ │ │ ├── 2 │ │ │ │ └── 7 │ │ │ │ │ └── 27840c01211ef20fcd14627e23b6021b4095a808 │ │ │ │ ├── 4 │ │ │ │ ├── 4 │ │ │ │ │ └── 442292b8a7efeabbe4cc176709b833b1792140ec │ │ │ │ └── e │ │ │ │ │ └── 4e655f1c9f03cc71bd8085368255b06df5c3e16e │ │ │ │ ├── 6 │ │ │ │ ├── 1 │ │ │ │ │ ├── 61045e90f9e123cca93c3b038ca2053444438c45 │ │ │ │ │ └── 61051bf0a61735e67e19dcf121732b55a34dac8a │ │ │ │ ├── 4 │ │ │ │ │ └── 6469e0c3b56b65dc607fa53399e05d306e28d6c9 │ │ │ │ └── d │ │ │ │ │ └── 6d7a9f605e0e944c929296ea1a46d62ce897795e │ │ │ │ ├── 7 │ │ │ │ ├── 1 │ │ │ │ │ └── 7103566c10d2477b5a427db8f6a2cbec7fef3e18 │ │ │ │ └── 5 │ │ │ │ │ └── 750070bbe15f7d33e2ee9b8c4f2da460d3f49436 │ │ │ │ ├── 8 │ │ │ │ └── a │ │ │ │ │ └── 8ae502b53303fbccdef254db839987c66050666b │ │ │ │ ├── a │ │ │ │ ├── 4 │ │ │ │ │ └── a4cda10d6202c5f16c82329118535a7305211163 │ │ │ │ └── 6 │ │ │ │ │ └── a661e3641c3b62ffe644ab1b4221718c5badd2f3 │ │ │ │ ├── d │ │ │ │ └── 8 │ │ │ │ │ └── d830bdf55a50eb556e47fa7ced5803e588ef4777 │ │ │ │ ├── f │ │ │ │ ├── 0 │ │ │ │ │ └── f0ced6a2fe4cdca8a90c2ff55d6424d4105ba8d7 │ │ │ │ ├── 8 │ │ │ │ │ └── f80c2e4259c84721f0f34c792c2f9a071d3c2fbd │ │ │ │ └── c │ │ │ │ │ └── fc2aa3247851300c5d3099c01d7b0cc428b387c5 │ │ │ │ └── index.pb │ │ └── workspace.xml │ ├── cricket-scorecard.iml │ ├── pom.xml │ ├── src │ │ ├── .DS_Store │ │ └── main │ │ │ ├── .DS_Store │ │ │ └── java │ │ │ ├── .DS_Store │ │ │ └── com │ │ │ ├── .DS_Store │ │ │ └── pc │ │ │ ├── .DS_Store │ │ │ └── cricscore │ │ │ ├── .DS_Store │ │ │ ├── concrete │ │ │ ├── CricketMatch.java │ │ │ └── MatchResult.java │ │ │ ├── data │ │ │ ├── Australia.java │ │ │ ├── England.java │ │ │ ├── NewZealand.java │ │ │ └── SouthAfrica.java │ │ │ ├── main │ │ │ └── Main.java │ │ │ └── model │ │ │ ├── Balls.java │ │ │ ├── ImmutableList.java │ │ │ ├── Innings.java │ │ │ ├── LineUp.java │ │ │ ├── Over.java │ │ │ ├── Player.java │ │ │ ├── Score.java │ │ │ ├── SimpleLineUp.java │ │ │ └── SimplePlayer.java │ └── target │ │ └── maven-status │ │ └── maven-compiler-plugin │ │ └── compile │ │ └── default-compile │ │ ├── createdFiles.lst │ │ └── inputFiles.lst ├── designBlackJack │ ├── BlackJackGameAutomator.java │ ├── Main.java │ ├── impl │ │ ├── BlackJackCard.java │ │ ├── BlackJackHand.java │ │ └── Test.java │ ├── models │ │ ├── Card.java │ │ ├── Deck.java │ │ ├── Hand.java │ │ └── Suit.java │ ├── readme │ └── util │ │ └── AssortedMethodsUtil.java ├── designLogger │ ├── MainClientRunner.java │ ├── api │ │ └── Logger.java │ ├── conf │ │ └── LoggerConfiguration.java │ ├── enums │ │ └── LoggerLevel.java │ ├── model │ │ └── Message.java │ └── strategy │ │ ├── SinkContext.java │ │ ├── SinkStrategy.java │ │ └── impl │ │ ├── ConsoleSinkStrategy.java │ │ ├── DatabaseSinkStrategy.java │ │ └── FileSinkStrategy.java ├── designchess │ ├── .DS_Store │ ├── controller │ │ └── Game.java │ ├── enums │ │ ├── Color.java │ │ ├── GameStatus.java │ │ └── PieceType.java │ ├── models │ │ ├── Cell.java │ │ ├── ChessBoard.java │ │ ├── Move.java │ │ ├── Piece.java │ │ ├── Player.java │ │ └── pieceimpl │ │ │ ├── Bishop.java │ │ │ ├── King.java │ │ │ ├── Knight.java │ │ │ ├── Pawn.java │ │ │ ├── Queen.java │ │ │ └── Rook.java │ └── readme ├── designpubsub │ ├── Main.java │ ├── handlers │ │ ├── ConsumerRunner.java │ │ └── ConsumerWorker.java │ ├── models │ │ ├── Consumer.java │ │ ├── ConsumerGroup.java │ │ ├── Message.java │ │ ├── Partition.java │ │ └── Topic.java │ └── publicInterface │ │ └── MessageBroker.java ├── facebook │ ├── .DS_Store │ ├── build.gradle │ ├── gradle │ │ ├── .DS_Store │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── settings.gradle │ └── src │ │ ├── .DS_Store │ │ ├── main │ │ ├── .DS_Store │ │ ├── java │ │ │ ├── .DS_Store │ │ │ └── lowleveldesign │ │ │ │ ├── .DS_Store │ │ │ │ └── facebook │ │ │ │ ├── .DS_Store │ │ │ │ └── api │ │ │ │ ├── .DS_Store │ │ │ │ ├── FacebookLLDApplication.java │ │ │ │ ├── configurations │ │ │ │ └── CassandraConfiguration.java │ │ │ │ └── core │ │ │ │ ├── .DS_Store │ │ │ │ ├── chainofresponsibilities │ │ │ │ ├── ** Chain of Resposibility Pattern ** │ │ │ │ ├── .DS_Store │ │ │ │ └── handlers │ │ │ │ │ ├── .DS_Store │ │ │ │ │ ├── Handler.java │ │ │ │ │ ├── models │ │ │ │ │ └── handlerdatas │ │ │ │ │ │ ├── HandlerData.java │ │ │ │ │ │ └── strategyhandlerdata │ │ │ │ │ │ ├── StrategyHandlerData.java │ │ │ │ │ │ ├── postpoints │ │ │ │ │ │ └── PostPointsStrategyHandlerData.java │ │ │ │ │ │ └── socialpoints │ │ │ │ │ │ └── SocialPointsStrategyHandlerData.java │ │ │ │ │ ├── startegyhandlers │ │ │ │ │ ├── ** Combined Chain of Responsibility Pattern and Strategy Pattern ** │ │ │ │ │ ├── StrategyHandler.java │ │ │ │ │ └── implementations │ │ │ │ │ │ ├── PostPointsStrategyHandler.java │ │ │ │ │ │ └── SocialPointsStrategyHandler.java │ │ │ │ │ └── utils │ │ │ │ │ └── ChainOfResponsibilityUtils.java │ │ │ │ ├── entities │ │ │ │ ├── Comment.java │ │ │ │ ├── EntityNames.java │ │ │ │ ├── Group.java │ │ │ │ ├── Page.java │ │ │ │ ├── Person.java │ │ │ │ ├── Post.java │ │ │ │ └── userdefinedtypes │ │ │ │ │ ├── Comment.java │ │ │ │ │ ├── Connection.java │ │ │ │ │ ├── Name.java │ │ │ │ │ ├── abstractuserdefinedtypes │ │ │ │ │ ├── AbstractEntityType.java │ │ │ │ │ ├── AbstractLocationEntityType.java │ │ │ │ │ ├── Admin.java │ │ │ │ │ └── Member.java │ │ │ │ │ ├── comment │ │ │ │ │ ├── CommentLikedBy.java │ │ │ │ │ ├── CommentPostedBy.java │ │ │ │ │ └── CommentPostedOn.java │ │ │ │ │ ├── group │ │ │ │ │ ├── GroupAdmin.java │ │ │ │ │ └── GroupMember.java │ │ │ │ │ ├── location │ │ │ │ │ ├── Address.java │ │ │ │ │ ├── Apartment.java │ │ │ │ │ ├── Area.java │ │ │ │ │ ├── Building.java │ │ │ │ │ ├── City.java │ │ │ │ │ ├── Continent.java │ │ │ │ │ ├── Country.java │ │ │ │ │ ├── District.java │ │ │ │ │ ├── House.java │ │ │ │ │ ├── Locality.java │ │ │ │ │ ├── Location.java │ │ │ │ │ ├── Pincode.java │ │ │ │ │ ├── PoliceStation.java │ │ │ │ │ ├── PostOffice.java │ │ │ │ │ ├── Society.java │ │ │ │ │ ├── State.java │ │ │ │ │ ├── SubDistrict.java │ │ │ │ │ └── Taluk.java │ │ │ │ │ ├── page │ │ │ │ │ ├── Follower.java │ │ │ │ │ └── PageAdmin.java │ │ │ │ │ ├── person │ │ │ │ │ ├── Following.java │ │ │ │ │ ├── PersonCommentedPost.java │ │ │ │ │ ├── PersonGroup.java │ │ │ │ │ ├── PersonLikedPost.java │ │ │ │ │ ├── PersonPage.java │ │ │ │ │ └── PersonSharedPost.java │ │ │ │ │ └── post │ │ │ │ │ ├── PostLikedBy.java │ │ │ │ │ └── PostSharedBy.java │ │ │ │ ├── repositories │ │ │ │ └── PersonRepository.java │ │ │ │ ├── services │ │ │ │ └── INewsFeedService.java │ │ │ │ └── strategies │ │ │ │ ├── ** Strategy Pattern ** │ │ │ │ ├── IStrategy.java │ │ │ │ ├── postpointsstrategies │ │ │ │ ├── IPostPointsStrategy.java │ │ │ │ └── implementations │ │ │ │ │ ├── PostCommentByPersonSocialPointsPostPointsStrategy.java │ │ │ │ │ ├── PostLikedByPersonSocialPointsPostPointsStrategy.java │ │ │ │ │ ├── PostLikesPostPointsStrategy.java │ │ │ │ │ ├── PostSharedByPersonSocialPointsPostPointsStrategy.java │ │ │ │ │ ├── PostSharedCountPostPointsStrategy.java │ │ │ │ │ ├── PostedByPersonSocialPointsPostPointsStrategy.java │ │ │ │ │ └── PostedOnPageFollowersPostPointsStrategy.java │ │ │ │ └── socialpointsstrategy │ │ │ │ ├── ISocialPointsStrategy.java │ │ │ │ └── implementations │ │ │ │ ├── AdminGroupsStrategy.java │ │ │ │ ├── ConnectionsStrategy.java │ │ │ │ ├── FollowersStrategy.java │ │ │ │ └── MemberGroupsStrategy.java │ │ └── resources │ │ │ ├── application.yaml │ │ │ ├── cassandra.yaml │ │ │ └── dbmigrations │ │ │ └── cassandra │ │ │ ├── 000001_keyspace_up.cql │ │ │ ├── 000002_user_defined_types_up.cql │ │ │ ├── 000003_posts_up.cql │ │ │ ├── 000004_pages_up.cql │ │ │ ├── 000005_entity_names_up.cql │ │ │ ├── 000006_comments_up.cql │ │ │ ├── 000007_groups_up.cql │ │ │ └── 000008_persons_up.cql │ │ └── test │ │ └── java │ │ └── lowleveldesign │ │ └── facebook │ │ └── FacebookLldApplicationTests.java ├── flipkart-interview-parser │ ├── .DS_Store │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── santanu │ │ │ └── csv │ │ │ ├── Main.java │ │ │ ├── ParserForFlipkart.java │ │ │ └── Person.java │ │ └── resources │ │ └── input.csv ├── jira-fk │ ├── .DS_Store │ ├── README.md │ ├── mvnw │ ├── mvnw.cmd │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── rjnitt │ │ │ └── boilerplate │ │ │ ├── .DS_Store │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ ├── SprintController.java │ │ │ ├── TaskController.java │ │ │ └── TestController.java │ │ │ ├── db_script │ │ │ ├── postman_collection │ │ │ ├── sample │ │ │ ├── schema │ │ │ └── truncate │ │ │ ├── dto │ │ │ ├── SprintDto.java │ │ │ ├── TaskDetailDto.java │ │ │ └── TaskDto.java │ │ │ ├── entity │ │ │ ├── Sprint.java │ │ │ ├── Task.java │ │ │ └── TaskActivity.java │ │ │ ├── exception │ │ │ ├── ExceptionResponse.java │ │ │ └── handler.java │ │ │ ├── repository │ │ │ ├── SprintRepository.java │ │ │ ├── TaskActivityRepository.java │ │ │ └── TaskRepository.java │ │ │ ├── service │ │ │ ├── SprintService.java │ │ │ ├── TaskService.java │ │ │ └── impl │ │ │ │ ├── SprintServiceImpl.java │ │ │ │ └── TaskServiceImpl.java │ │ │ └── util │ │ │ ├── CommonConstant.java │ │ │ ├── IssueType.java │ │ │ ├── TaskStatus.java │ │ │ └── Util.java │ │ └── resources │ │ └── application.properties ├── lld-food-delivery-zomato-swiggy │ ├── .DS_Store │ ├── README.md │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── mayank │ │ │ └── fooddelivery │ │ │ ├── FoodDeliveryStartApplication.java │ │ │ ├── commands │ │ │ ├── AddCartCommandExecutor.java │ │ │ ├── CancelOrderCommandExecutor.java │ │ │ ├── CartCommandExecutor.java │ │ │ ├── OrderCommandExecutor.java │ │ │ ├── PlaceOrderCommandExecutor.java │ │ │ └── RemoveCartCommandExecutor.java │ │ │ ├── controllers │ │ │ ├── CartController.java │ │ │ ├── DeliveryController.java │ │ │ ├── FoodMenuController.java │ │ │ ├── OrderController.java │ │ │ ├── PaymentController.java │ │ │ ├── PricingController.java │ │ │ ├── RestaurantController.java │ │ │ └── UserController.java │ │ │ ├── datastore │ │ │ ├── CartData.java │ │ │ ├── DeliveryData.java │ │ │ ├── FoodMenuData.java │ │ │ ├── OrderData.java │ │ │ ├── PaymentData.java │ │ │ ├── RestaurantData.java │ │ │ └── UserData.java │ │ │ ├── exceptions │ │ │ ├── ExceptionType.java │ │ │ └── FoodDeliveryException.java │ │ │ ├── model │ │ │ ├── Address.java │ │ │ ├── Bill.java │ │ │ ├── CartCommandType.java │ │ │ ├── CouponCode.java │ │ │ ├── CuisineType.java │ │ │ ├── Delivery.java │ │ │ ├── FoodMenu.java │ │ │ ├── Location.java │ │ │ ├── MealType.java │ │ │ ├── MenuItem.java │ │ │ ├── Order.java │ │ │ ├── OrderCommandType.java │ │ │ ├── OrderStatus.java │ │ │ ├── Payment.java │ │ │ ├── PaymentStatus.java │ │ │ ├── PaymentType.java │ │ │ ├── Restaurant.java │ │ │ └── User.java │ │ │ ├── services │ │ │ ├── CartService.java │ │ │ ├── DeliveryService.java │ │ │ ├── FoodMenuService.java │ │ │ ├── OrderService.java │ │ │ ├── PaymentService.java │ │ │ ├── PricingService.java │ │ │ ├── RestaurantService.java │ │ │ └── UserService.java │ │ │ └── strategy │ │ │ ├── FiveHundredOffPricingStrategy.java │ │ │ ├── PricingStrategy.java │ │ │ └── TwentyPercentOffPricingStrategy.java │ │ └── test │ │ └── java │ │ └── com │ │ └── mayank │ │ └── fooddelivery │ │ ├── CartTest.java │ │ ├── DeliveryTest.java │ │ ├── FoodMenuTest.java │ │ ├── OrderProcessTest.java │ │ ├── PaymentTest.java │ │ ├── PricingTest.java │ │ ├── RestaurantProcessTest.java │ │ ├── TestHelper.java │ │ └── UserTest.java ├── low-level-design-3 │ ├── .DS_Store │ ├── README.md │ ├── deck-of-cards │ │ ├── .DS_Store │ │ ├── README.md │ │ └── src │ │ │ ├── .DS_Store │ │ │ └── com.deckofcards │ │ │ ├── .DS_Store │ │ │ ├── DeckOfCardMainApplication.java │ │ │ ├── card │ │ │ └── Cards.java │ │ │ ├── deck │ │ │ └── Deck.java │ │ │ └── enums │ │ │ └── Suite.java │ ├── food-ordering-system │ │ ├── README.md │ │ ├── food-ordering-system.iml │ │ └── src │ │ │ └── com.bonvivant │ │ │ ├── BonVivantMainApp.java │ │ │ ├── constants │ │ │ ├── BonVivantConstants.java │ │ │ └── RestaurantsConstants.java │ │ │ ├── enums │ │ │ ├── ItemStatus.java │ │ │ ├── MenuType.java │ │ │ ├── NotificationType.java │ │ │ ├── OrderStatus.java │ │ │ ├── PaymentStatus.java │ │ │ └── RestaurantStatus.java │ │ │ ├── exceptions │ │ │ └── BonVivantException.java │ │ │ ├── helper │ │ │ └── Utils.java │ │ │ ├── order │ │ │ └── Order.java │ │ │ ├── payments │ │ │ ├── AbstractPayment.java │ │ │ └── IPaymentStrategy.java │ │ │ ├── restaurant │ │ │ ├── FoodItem.java │ │ │ ├── Menu.java │ │ │ └── Restaurant.java │ │ │ ├── service │ │ │ ├── IRestaurantSelectionStratgey.java │ │ │ ├── LowestPriceRestaurantStrategy.java │ │ │ ├── RestaurantFinder.java │ │ │ └── notification │ │ │ │ └── AbstractNotification.java │ │ │ └── system │ │ │ ├── BonVivantRestaurantDriver.java │ │ │ └── RestaurantManager.java │ └── mychess.com │ │ ├── .DS_Store │ │ ├── README.md │ │ └── src │ │ ├── .DS_Store │ │ └── com.mychess.play │ │ ├── .DS_Store │ │ ├── ChessGame.java │ │ ├── MyChessMainApp.java │ │ ├── board │ │ └── Board.java │ │ ├── cell │ │ └── Cell.java │ │ ├── constants │ │ └── ChessConstants.java │ │ ├── enums │ │ ├── GameStatus.java │ │ └── PieceColor.java │ │ ├── move │ │ └── Moves.java │ │ ├── pieces │ │ ├── Bishop.java │ │ ├── King.java │ │ ├── Knight.java │ │ ├── Pawn.java │ │ ├── Piece.java │ │ ├── Queen.java │ │ └── Rook.java │ │ └── player │ │ └── Player.java ├── low-level-design-messaging-queue-pub-sub │ ├── .DS_Store │ ├── README.md │ ├── main │ │ ├── .DS_Store │ │ ├── main.iml │ │ ├── out │ │ │ └── production │ │ │ │ └── main │ │ │ │ ├── META-INF │ │ │ │ └── main.kotlin_module │ │ │ │ └── com │ │ │ │ └── uditagarwal │ │ │ │ ├── Main.class │ │ │ │ ├── SleepingSubscriber.class │ │ │ │ └── pub_sub_queue │ │ │ │ ├── handler │ │ │ │ ├── SubscriberWorker.class │ │ │ │ └── TopicHandler.class │ │ │ │ ├── model │ │ │ │ ├── Message.class │ │ │ │ ├── Topic.class │ │ │ │ └── TopicSubscriber.class │ │ │ │ └── public_interface │ │ │ │ ├── ISubscriber.class │ │ │ │ └── Queue.class │ │ └── src │ │ │ ├── .DS_Store │ │ │ └── com │ │ │ ├── .DS_Store │ │ │ └── uditagarwal │ │ │ ├── .DS_Store │ │ │ ├── Main.java │ │ │ ├── SleepingSubscriber.java │ │ │ └── pub_sub_queue │ │ │ ├── handler │ │ │ ├── SubscriberWorker.java │ │ │ └── TopicHandler.java │ │ │ ├── model │ │ │ ├── Message.java │ │ │ ├── Topic.java │ │ │ └── TopicSubscriber.java │ │ │ └── public_interface │ │ │ ├── ISubscriber.java │ │ │ └── Queue.java │ ├── problem-statement.md │ └── src │ │ ├── .DS_Store │ │ └── main │ │ ├── .DS_Store │ │ └── java │ │ ├── .DS_Store │ │ └── com │ │ └── uditagarwal │ │ ├── Main.java │ │ ├── SleepingSubscriber.java │ │ └── pub_sub_queue │ │ ├── handler │ │ ├── SubscriberWorker.java │ │ └── TopicHandler.java │ │ ├── model │ │ ├── Message.java │ │ ├── Topic.java │ │ └── TopicSubscriber.java │ │ └── public_interface │ │ ├── ISubscriber.java │ │ └── Queue.java ├── low-level-design │ ├── .DS_Store │ ├── README.md │ ├── expense │ │ ├── .DS_Store │ │ ├── ExpenseRunner.java │ │ ├── data │ │ │ ├── ExpenseData.java │ │ │ └── UserData.java │ │ ├── models │ │ │ ├── EqualSplitExpense.java │ │ │ ├── ExactSplitExpense.java │ │ │ ├── Expense.class │ │ │ ├── Expense.java │ │ │ ├── ExpenseBuilder.java │ │ │ ├── PercentSplitExpense.java │ │ │ ├── Split.java │ │ │ └── User.java │ │ └── service │ │ │ └── ExpenseService.java │ └── fs │ │ ├── FSDriver.java │ │ └── FileSystem.java ├── message-broker │ ├── .DS_Store │ ├── README.md │ ├── pom.xml │ └── src │ │ ├── .DS_Store │ │ ├── main │ │ ├── .DS_Store │ │ └── java │ │ │ ├── .DS_Store │ │ │ └── com │ │ │ ├── .DS_Store │ │ │ └── flipkart │ │ │ ├── .DS_Store │ │ │ └── messaging │ │ │ ├── Broker.java │ │ │ ├── BrokerException.java │ │ │ ├── Consumer.java │ │ │ ├── DispatchTask.java │ │ │ ├── Dispatcher.java │ │ │ ├── FilePersistentStore.java │ │ │ ├── Message.java │ │ │ ├── Publisher.java │ │ │ └── Topic.java │ │ └── test │ │ └── java │ │ └── com │ │ └── flipkart │ │ └── messaging │ │ └── BrokerTest.java ├── multilevelcache │ ├── .idea │ │ ├── compiler.xml │ │ ├── encodings.xml │ │ ├── misc.xml │ │ ├── sonarlint │ │ │ └── issuestore │ │ │ │ ├── 2 │ │ │ │ ├── 4 │ │ │ │ │ └── 24eac7ecab8aa0e7098a19ca9be8d6492464d947 │ │ │ │ └── e │ │ │ │ │ └── 2e5e8bc50ef1e6d0eb850d37c85284c20203138a │ │ │ │ ├── 3 │ │ │ │ └── c │ │ │ │ │ └── 3c155820408c1adf451542a1cdc2b802383de801 │ │ │ │ ├── 4 │ │ │ │ └── 4 │ │ │ │ │ └── 442292b8a7efeabbe4cc176709b833b1792140ec │ │ │ │ ├── 6 │ │ │ │ └── 8 │ │ │ │ │ └── 6815057b6b8cff78f89859ae1746b6cda3ac9d3f │ │ │ │ ├── 7 │ │ │ │ └── 0 │ │ │ │ │ └── 70eb94caf2d803f355067e8e0f41f51743cb9078 │ │ │ │ ├── 9 │ │ │ │ └── 7 │ │ │ │ │ └── 973a5f9edc035e188df9a956fc777b82685940d8 │ │ │ │ ├── a │ │ │ │ └── 0 │ │ │ │ │ └── a006f71d10bcf7c0ee4123a139a6bf4891370fab │ │ │ │ └── index.pb │ │ ├── vcs.xml │ │ └── workspace.xml │ ├── multilevelcache.iml │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── org │ │ │ └── multilevelcache │ │ │ ├── model │ │ │ ├── LevelCacheData.java │ │ │ ├── ReadResponse.java │ │ │ ├── StatsResponse.java │ │ │ └── WriteResponse.java │ │ │ └── provider │ │ │ ├── ILevelCache.java │ │ │ └── MultiLevelCache.java │ │ └── readme.md ├── multilevelparkinglot │ ├── .idea │ │ ├── compiler.xml │ │ ├── encodings.xml │ │ ├── misc.xml │ │ ├── sonarlint │ │ │ └── issuestore │ │ │ │ ├── 0 │ │ │ │ ├── 2 │ │ │ │ │ └── 0280c1ac3b947d07ca4cf1c903a0a41b761dd750 │ │ │ │ └── c │ │ │ │ │ └── 0cc1840a65de6256fe53566d2842ed237c2cfa6c │ │ │ │ ├── 1 │ │ │ │ └── a │ │ │ │ │ └── 1ac2793dede00323e58c32024488bd3aa040e946 │ │ │ │ ├── 2 │ │ │ │ ├── a │ │ │ │ │ └── 2a31b3e245fea909e6997d3f1a976ce29998b33e │ │ │ │ └── f │ │ │ │ │ ├── 2f53aa83f45283abc3594b4bebe6d3971e98ae82 │ │ │ │ │ └── 2fd4a6856802c289fba885328445b03cf5a839e1 │ │ │ │ ├── 4 │ │ │ │ ├── 0 │ │ │ │ │ └── 4008a12d04d7c18fab58e234d3b36fb7fb899ec8 │ │ │ │ ├── 2 │ │ │ │ │ ├── 42a6bf3115d76f7ae0d28e949ecd08edf2530eed │ │ │ │ │ └── 42fbc2d4cce430821afa90ba04dcc11c46774605 │ │ │ │ ├── 4 │ │ │ │ │ ├── 442292b8a7efeabbe4cc176709b833b1792140ec │ │ │ │ │ └── 44390c0371db95d459f2f143164b7094b1ef3146 │ │ │ │ └── f │ │ │ │ │ └── 4f4db8b4216b03c6a2ba75e79ed1bda23aa0b2c7 │ │ │ │ ├── 5 │ │ │ │ ├── e │ │ │ │ │ └── 5ec0920bc29fd21064b6d61fef77dcfda806b09a │ │ │ │ └── f │ │ │ │ │ └── 5f042522c87e07949c71b530369b710d12c70b46 │ │ │ │ ├── 6 │ │ │ │ ├── 0 │ │ │ │ │ └── 606ab7742954ccf10e66a71354d1580ed1d0324b │ │ │ │ ├── 2 │ │ │ │ │ └── 6253c56df5ee624fbcb57050b68807e7812973a1 │ │ │ │ └── 9 │ │ │ │ │ └── 69bb6d6a5b3c3249963f73f60398b976a2a35ab5 │ │ │ │ ├── 7 │ │ │ │ └── 8 │ │ │ │ │ └── 783f2813c7fe72860ad3d93282e5dcc1123858fc │ │ │ │ ├── 9 │ │ │ │ ├── 0 │ │ │ │ │ ├── 90193ea3ae55356233b20b5d58e055ed6a33da63 │ │ │ │ │ └── 9030917aaa51f510a4275d891f39615e3ecda60b │ │ │ │ ├── 1 │ │ │ │ │ └── 9109e2a948d5eb5ef442118b5b8467b279b4502f │ │ │ │ ├── 5 │ │ │ │ │ └── 95d646559dc1747bd753a0a901a5d19a0ff2f928 │ │ │ │ └── f │ │ │ │ │ └── 9f681291316e22f5a88fb46b1056c41f303a2978 │ │ │ │ ├── a │ │ │ │ ├── 1 │ │ │ │ │ └── a1c44363c2cf3c56240e5668785d5b67f9ff2b3f │ │ │ │ └── b │ │ │ │ │ ├── ab8a3cb32466461581c6d2b81389c1b1bf1e69f9 │ │ │ │ │ └── abdf4c76da16a8218a96a3e94917a8292a6b4951 │ │ │ │ ├── b │ │ │ │ ├── 1 │ │ │ │ │ └── b1441740d3677c6b9823eefe946f7eb1b05994e8 │ │ │ │ ├── 3 │ │ │ │ │ ├── b35258373f6b90b7b4a76af71fbe7876b891fed1 │ │ │ │ │ └── b3a5ac14ec4a8beff7a02b5a5f66cb2a4c3be0b9 │ │ │ │ └── f │ │ │ │ │ └── bfbf48e253b14b829cdf7510c55cc8c44cd8175b │ │ │ │ ├── c │ │ │ │ ├── 5 │ │ │ │ │ └── c58c64d73a985d4feb9fcc86a0a8286c093b13eb │ │ │ │ ├── 7 │ │ │ │ │ └── c7b6e06c507ca36baedee1944ba10e1afc796a8a │ │ │ │ └── d │ │ │ │ │ ├── cd1a693d3632204be1f1f8242467a7e968a9705f │ │ │ │ │ └── cdbe0cdc01f6f6899a604dc63357adfc23894e3a │ │ │ │ ├── d │ │ │ │ ├── 4 │ │ │ │ │ └── d47c4e3c4a846af573e49bb052490345dc917572 │ │ │ │ ├── b │ │ │ │ │ └── dbaea59f020dc9c6fe87e1838fc84c9fff891742 │ │ │ │ └── c │ │ │ │ │ └── dc9c914e3aa8857bac7593d5a45da03ff7939364 │ │ │ │ ├── e │ │ │ │ └── b │ │ │ │ │ └── ebee4a33f321101605e91a872b00c6292e4ca764 │ │ │ │ ├── f │ │ │ │ └── 6 │ │ │ │ │ └── f6d90bc04762eeeb3b8af23b19267eedc2a664d1 │ │ │ │ └── index.pb │ │ ├── uiDesigner.xml │ │ └── workspace.xml │ ├── file_input.txt │ ├── multilevelparkinglot.iml │ ├── pom.xml │ ├── src │ │ ├── main │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── pc │ │ │ │ └── multilevelparkinglot │ │ │ │ ├── Main.java │ │ │ │ ├── OutputPrinter.java │ │ │ │ ├── ParkingLotRuner.java │ │ │ │ ├── commands │ │ │ │ ├── CommandExecutor.java │ │ │ │ ├── CommandExecutorFactory.java │ │ │ │ ├── CreateParkingLotCommandExecutor.java │ │ │ │ ├── ExitCommandExecutor.java │ │ │ │ ├── LeaveCommandExecutor.java │ │ │ │ └── ParkCommandExecutor.java │ │ │ │ ├── constant │ │ │ │ └── ParkingConstants.java │ │ │ │ ├── dao │ │ │ │ ├── ParkingDao.java │ │ │ │ └── ParkingLevelDao.java │ │ │ │ ├── db │ │ │ │ └── manager │ │ │ │ │ ├── InMemoryParkingLevelManager.java │ │ │ │ │ └── InMemoryParkingManager.java │ │ │ │ ├── enums │ │ │ │ ├── ErrorCode.java │ │ │ │ └── ProgramType.java │ │ │ │ ├── exception │ │ │ │ ├── InvalidCommandException.java │ │ │ │ ├── InvalidModeException.java │ │ │ │ └── ParkingLotException.java │ │ │ │ ├── mode │ │ │ │ ├── FileMode.java │ │ │ │ ├── InteractiveMode.java │ │ │ │ └── Mode.java │ │ │ │ ├── model │ │ │ │ ├── Car.java │ │ │ │ ├── Command.java │ │ │ │ ├── InteractiveRequest.java │ │ │ │ ├── ParkingLot.java │ │ │ │ ├── Request.java │ │ │ │ └── Vehicle.java │ │ │ │ ├── processor │ │ │ │ ├── ProcessorFactory.java │ │ │ │ └── data │ │ │ │ │ └── Request.java │ │ │ │ ├── service │ │ │ │ ├── AbstractService.java │ │ │ │ ├── MultiParkingService.java │ │ │ │ ├── ParkingService.java │ │ │ │ └── impl │ │ │ │ │ └── ParkingServiceImpl.java │ │ │ │ └── strategy │ │ │ │ ├── ParkingStrategy.java │ │ │ │ └── impl │ │ │ │ └── NearestParkingStrategy.java │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── pc │ │ │ └── multilevelparkinglot │ │ │ ├── .DS_Store │ │ │ ├── command │ │ │ └── CreateParkingLotCommandExecutorTest.java │ │ │ └── inmemory │ │ │ └── test │ │ │ └── ParkingLevelTest.java │ └── target │ │ ├── classes │ │ └── com │ │ │ └── pc │ │ │ └── multilevelparkinglot │ │ │ ├── Main.class │ │ │ ├── OutputPrinter.class │ │ │ ├── commands │ │ │ ├── CommandExecutor.class │ │ │ ├── CommandExecutorFactory.class │ │ │ ├── CreateParkingLotCommandExecutor.class │ │ │ ├── ExitCommandExecutor.class │ │ │ ├── LeaveCommandExecutor.class │ │ │ └── ParkCommandExecutor.class │ │ │ ├── constant │ │ │ └── ParkingConstants.class │ │ │ ├── dao │ │ │ ├── ParkingDao.class │ │ │ └── ParkingLevelDao.class │ │ │ ├── db │ │ │ └── manager │ │ │ │ ├── InMemoryParkingLevelManager.class │ │ │ │ └── InMemoryParkingManager.class │ │ │ ├── enums │ │ │ ├── ErrorCode.class │ │ │ └── ProgramType.class │ │ │ ├── exception │ │ │ ├── InvalidCommandException.class │ │ │ ├── InvalidModeException.class │ │ │ └── ParkingLotException.class │ │ │ ├── mode │ │ │ ├── FileMode.class │ │ │ ├── InteractiveMode.class │ │ │ └── Mode.class │ │ │ ├── model │ │ │ ├── Car.class │ │ │ ├── Command.class │ │ │ ├── InteractiveRequest.class │ │ │ ├── ParkingLot.class │ │ │ ├── Request.class │ │ │ └── Vehicle.class │ │ │ ├── processor │ │ │ └── data │ │ │ │ └── Request.class │ │ │ ├── service │ │ │ ├── AbstractService.class │ │ │ ├── MultiParkingService.class │ │ │ ├── ParkingService.class │ │ │ └── impl │ │ │ │ └── ParkingServiceImpl.class │ │ │ └── strategy │ │ │ ├── ParkingStrategy.class │ │ │ └── impl │ │ │ └── NearestParkingStrategy.class │ │ ├── maven-archiver │ │ └── pom.properties │ │ ├── maven-status │ │ └── maven-compiler-plugin │ │ │ └── compile │ │ │ └── default-compile │ │ │ ├── createdFiles.lst │ │ │ └── inputFiles.lst │ │ └── parkingLot.jar ├── parking-lot-lld-oop-ood │ ├── .DS_Store │ ├── README.md │ ├── build.gradle │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── settings.gradle │ └── src │ │ └── main │ │ └── java │ │ ├── Customer.java │ │ ├── DisplayBoard.java │ │ ├── ElectricalParkingSpot.java │ │ ├── EntrancePanel.java │ │ ├── EntryPoint.java │ │ ├── ExitPoint.java │ │ ├── NonElectricalParkingSpot.java │ │ ├── ParkingFloor.java │ │ ├── ParkingLot.java │ │ ├── ParkingRate.java │ │ ├── ParkingSpot.java │ │ ├── ParkingSpotType.java │ │ ├── ParkingTicket.java │ │ ├── PaymemtMode.java │ │ ├── Transaction.java │ │ ├── Vehicle.java │ │ └── VehicleType.java ├── parkingLot_new │ ├── Account.java │ ├── Address.java │ ├── Admin.java │ ├── Display.java │ ├── Employee.java │ ├── EntryGate.java │ ├── ExitGates.java │ ├── Gate.java │ ├── ParkingAttendent.java │ ├── ParkingFloor.java │ ├── ParkingLot.java │ ├── ParkingSpace.java │ ├── ParkingSpaceType.java │ ├── ParkingTicket.java │ ├── PaymentReceipt.java │ ├── PaymentStatus.java │ ├── PaymentType.java │ ├── Vehicle.java │ └── VehicleType.java ├── parkinglot │ ├── .DS_Store │ ├── LICENSE │ ├── Readme.md │ ├── build.gradle │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── settings.gradle │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── gb │ │ ├── .DS_Store │ │ └── parkinglot │ │ ├── .DS_Store │ │ ├── ParkinglotApplication.java │ │ ├── exceptions │ │ ├── InvalidParkingLotException.java │ │ └── InvlaidParkingFloorException.java │ │ ├── model │ │ ├── .DS_Store │ │ ├── account │ │ │ ├── Account.java │ │ │ ├── Admin.java │ │ │ ├── Contact.java │ │ │ ├── Person.java │ │ │ ├── PersonalInfo.java │ │ │ └── common │ │ │ │ └── Address.java │ │ ├── parking │ │ │ ├── AbledCarParkingSpot.java │ │ │ ├── CarParkingSpot.java │ │ │ ├── ElectricBikeParkingSpot.java │ │ │ ├── ElectricCarParkingSpot.java │ │ │ ├── EntrancePanel.java │ │ │ ├── ExitPanel.java │ │ │ ├── HourlyCost.java │ │ │ ├── LargeVehicleParkingSpot.java │ │ │ ├── MotorBikeParkingSpot.java │ │ │ ├── ParkingFloor.java │ │ │ ├── ParkingLot.java │ │ │ ├── ParkingSpot.java │ │ │ ├── ParkingSpotType.java │ │ │ ├── ParkingTicket.java │ │ │ ├── Payment.java │ │ │ ├── PaymentPortal.java │ │ │ ├── PaymentStatus.java │ │ │ └── TicketStatus.java │ │ └── vehicle │ │ │ ├── Car.java │ │ │ ├── ElectircMotorBike.java │ │ │ ├── ElectricCar.java │ │ │ ├── MotorBike.java │ │ │ ├── Truck.java │ │ │ ├── Van.java │ │ │ ├── Vehicle.java │ │ │ └── VehicleType.java │ │ └── repository │ │ ├── AdminRepository.java │ │ └── ParkingLotRepository.java ├── parkinglot_services │ ├── .DS_Store │ ├── controller │ │ └── ParkingLot.java │ ├── models │ │ ├── ParkingSlot.java │ │ ├── ParkingSlotState.java │ │ ├── ParkingSlotType.java │ │ ├── Ticket.java │ │ ├── Vehicle.java │ │ └── VehicleType.java │ └── service │ │ ├── ParkingService.java │ │ ├── PricingService.java │ │ └── SlotService.java ├── pub-sub Phonepe │ ├── .DS_Store │ ├── PubSubSystem │ │ ├── .DS_Store │ │ ├── .idea │ │ │ ├── compiler.xml │ │ │ ├── description.html │ │ │ ├── encodings.xml │ │ │ ├── misc.xml │ │ │ ├── modules.xml │ │ │ ├── sonarIssues.xml │ │ │ ├── sonarlint │ │ │ │ └── issuestore │ │ │ │ │ ├── 1 │ │ │ │ │ └── 5 │ │ │ │ │ │ └── 15d12af143c2192c6f113fb6358e4e63231e12c6 │ │ │ │ │ ├── 3 │ │ │ │ │ ├── 3 │ │ │ │ │ │ └── 331a4274530c902c408b29e8f35b22d13238cb0f │ │ │ │ │ └── a │ │ │ │ │ │ └── 3ab60872f365ff6fee76b90596b6f298e0190389 │ │ │ │ │ ├── 4 │ │ │ │ │ ├── 3 │ │ │ │ │ │ └── 43c72cf24687297679ab21aef9fea90b45847f3f │ │ │ │ │ └── b │ │ │ │ │ │ └── 4b2239d7b5b3024880195a789f9591289357128b │ │ │ │ │ ├── 6 │ │ │ │ │ └── f │ │ │ │ │ │ └── 6fe126b9a0978a538e8f95bab5d0adee21cd5d07 │ │ │ │ │ ├── 7 │ │ │ │ │ ├── 2 │ │ │ │ │ │ └── 72745488bba342e8b5065968e6213fbb8c90b5d8 │ │ │ │ │ └── 7 │ │ │ │ │ │ └── 772b6f22a38dcbde170df491bdb64ebc2d0bcb90 │ │ │ │ │ ├── 9 │ │ │ │ │ └── 2 │ │ │ │ │ │ └── 924f089edb4af5ee45c8a9d1129cd28e2b368138 │ │ │ │ │ ├── c │ │ │ │ │ └── d │ │ │ │ │ │ └── cd77de5d4c4de543dcaa4b3534d54faef03a3a1b │ │ │ │ │ └── index.pb │ │ │ ├── uiDesigner.xml │ │ │ ├── vcs.xml │ │ │ └── workspace.xml │ │ ├── PubSubSystem.iml │ │ ├── out │ │ │ └── production │ │ │ │ └── PubSubSystem │ │ │ │ ├── Consumer.class │ │ │ │ ├── ConsumerImpl.class │ │ │ │ ├── META-INF │ │ │ │ └── PubSubSystem.kotlin_module │ │ │ │ ├── Main.class │ │ │ │ ├── Message.class │ │ │ │ ├── MessagingQueue.class │ │ │ │ ├── Node.class │ │ │ │ ├── PubSubCommonService.class │ │ │ │ ├── PubSubCommonServiceImpl.class │ │ │ │ ├── Publisher.class │ │ │ │ └── PublisherImpl.class │ │ └── src │ │ │ ├── Consumer.java │ │ │ ├── ConsumerImpl.java │ │ │ ├── Main.java │ │ │ ├── Message.java │ │ │ ├── MessagingQueue.java │ │ │ ├── Node.java │ │ │ ├── PubSubCommonService.java │ │ │ ├── PubSubCommonServiceImpl.java │ │ │ ├── Publisher.java │ │ │ └── PublisherImpl.java │ └── README.md ├── smartHome │ ├── .DS_Store │ ├── README.md │ ├── com.flipkart.smartHome.zip │ └── com.flipkart.smartHome │ │ ├── com.flipkart.smartHome.iml │ │ ├── out │ │ └── production │ │ │ └── com.flipkart.smartHome │ │ │ ├── dao │ │ │ ├── DeviceDao.class │ │ │ ├── DeviceDaoImpl.class │ │ │ ├── SmartHomeDeviceDao.class │ │ │ └── SmartHomeDeviceDaoImpl.class │ │ │ ├── dbobjects │ │ │ └── LocalDbHashMap.class │ │ │ ├── domain │ │ │ ├── AbstractCommand.class │ │ │ ├── AbstractDevice.class │ │ │ ├── AbstractSmartHomeDevice.class │ │ │ ├── ActivationType.class │ │ │ ├── Command.class │ │ │ ├── Device.class │ │ │ ├── DeviceType.class │ │ │ ├── DeviceUsageDetails.class │ │ │ ├── SmartHomeDevice.class │ │ │ ├── SmartHomeDeviceCategory.class │ │ │ ├── State.class │ │ │ └── StateProperty.class │ │ │ ├── exception │ │ │ ├── DeviceNotExistsException.class │ │ │ └── WrongStateException.class │ │ │ └── service │ │ │ ├── HomeService.class │ │ │ ├── HomeServiceImpl.class │ │ │ └── HomeServiceImplTest.class │ │ ├── readme.txt │ │ └── src │ │ ├── dao │ │ ├── DeviceDao.java │ │ ├── DeviceDaoImpl.java │ │ ├── SmartHomeDeviceDao.java │ │ └── SmartHomeDeviceDaoImpl.java │ │ ├── dbobjects │ │ └── LocalDbHashMap.java │ │ ├── domain │ │ ├── AbstractCommand.java │ │ ├── AbstractDevice.java │ │ ├── AbstractSmartHomeDevice.java │ │ ├── ActivationType.java │ │ ├── Command.java │ │ ├── Device.java │ │ ├── DeviceType.java │ │ ├── DeviceUsageDetails.java │ │ ├── SmartHomeDevice.java │ │ ├── SmartHomeDeviceCategory.java │ │ ├── State.java │ │ └── StateProperty.java │ │ ├── exception │ │ ├── DeviceNotExistsException.java │ │ └── WrongStateException.java │ │ └── service │ │ ├── HomeService.java │ │ ├── HomeServiceImpl.java │ │ └── HomeServiceImplTest.java ├── snakeandladder │ ├── SnakeAndLadderRunner.java │ ├── models │ │ ├── Ladder.java │ │ ├── Player.java │ │ ├── Snake.java │ │ └── SnakeAndLadderBoard.java │ ├── readme │ └── service │ │ ├── DiceService.java │ │ └── SnakeAndLadderService.java ├── snakeladder │ ├── LudoBoard.java │ ├── Player.java │ └── SnakeLadderMain.java ├── snakeladdermodified │ ├── driver │ │ └── Driver.java │ ├── model │ │ ├── Ladder.java │ │ ├── Player.java │ │ ├── Snake.java │ │ └── SnakeAndLadderBoard.java │ └── service │ │ ├── DiceService.java │ │ └── SnakeAndLadderService.java ├── splitwise │ ├── Driver.java │ ├── expense │ │ ├── EqualExpense.java │ │ ├── ExactExpense.java │ │ ├── Expense.java │ │ ├── ExpenseMetaData.java │ │ ├── ExpenseType.java │ │ └── PercentExpense.java │ ├── model │ │ ├── EqualSplit.java │ │ ├── ExactSplit.java │ │ ├── PercentSplit.java │ │ ├── Split.java │ │ └── User.java │ └── service │ │ ├── ExpenseManager.java │ │ └── ExpenseService.java ├── stackoverflow │ ├── Account.java │ ├── AccountStatus.java │ ├── Admin.java │ ├── Answer.java │ ├── Badge.java │ ├── Comment.java │ ├── Entity.java │ ├── Member.java │ ├── Moderator.java │ ├── Question.java │ ├── Tag.java │ ├── User.java │ └── VoteType.java ├── swiggy-delivery │ ├── .DS_Store │ ├── pom.xml │ └── src │ │ ├── main │ │ └── java │ │ │ ├── AssignmentEvaluator.java │ │ │ ├── compute │ │ │ ├── GenerateAssignments.java │ │ │ └── GenerateAssignmentsOrderToDE.java │ │ │ ├── core │ │ │ ├── IDistanceCalculator.java │ │ │ └── OrderEntityAndDEDistanceCalculator.java │ │ │ ├── di │ │ │ ├── IDistanceCalculatorHandler.java │ │ │ └── MainModule.java │ │ │ └── models │ │ │ ├── DeliveryExecutive.java │ │ │ ├── Location.java │ │ │ ├── Order.java │ │ │ └── OrderToDEAssignment.java │ │ └── test │ │ └── java │ │ └── DummyTest.java ├── swiggyInterview1 │ ├── .DS_Store │ ├── .mvn │ │ └── wrapper │ │ │ ├── maven-wrapper.jar │ │ │ └── maven-wrapper.properties │ ├── mvnw │ ├── mvnw.cmd │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── swiggy │ │ │ │ ├── Service │ │ │ │ └── DeliveryExecutiveAssignmentServie.java │ │ │ │ ├── SwiggyApplication.java │ │ │ │ ├── helpers │ │ │ │ └── DistanceHelper.java │ │ │ │ ├── managers │ │ │ │ ├── PremiumScoreCalculation.java │ │ │ │ ├── SwiggyDeliveryStrategy.java │ │ │ │ └── SwiggyScoreCalculation.java │ │ │ │ └── model │ │ │ │ ├── AssignDeliveryExecutiveStrategy.java │ │ │ │ ├── DeliveryExecutive.java │ │ │ │ ├── DeliveryExecutiveScoreCalculationStrategy.java │ │ │ │ ├── DeliveryExecutiveWithScore.java │ │ │ │ ├── DeliveryStrategy.java │ │ │ │ ├── Location.java │ │ │ │ ├── Order.java │ │ │ │ ├── OrderStates.java │ │ │ │ ├── Restaurant.java │ │ │ │ └── SwiggyCustomer.java │ │ ├── resources │ │ │ └── application.properties │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── swiggy │ │ │ ├── Temp.java │ │ │ └── testcase.java │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── swiggy │ │ └── DemoApplicationTests.java ├── texteditor │ ├── .DS_Store │ ├── Action.java │ ├── impl │ │ └── SimpleTextEditor.java │ ├── main │ │ └── Main.java │ ├── models │ │ ├── CharacterNode.java │ │ └── Revision.java │ └── service │ │ └── ITextEditor.java ├── thegranths │ ├── .DS_Store │ ├── pom.xml │ └── src │ │ ├── .DS_Store │ │ └── main │ │ ├── .DS_Store │ │ └── java │ │ ├── .DS_Store │ │ ├── DataStructures │ │ └── LinkedList │ │ │ ├── BinarySearch.java │ │ │ ├── DetectLoopInLinkedList.java │ │ │ ├── Graph │ │ │ ├── DijkstraAlgorithm.java │ │ │ ├── TopologicalSort.java │ │ │ └── UnWeightedShortestPath.java │ │ │ ├── InvertBinaryTree.java │ │ │ ├── MiddleOfLinkedList.java │ │ │ ├── Node.java │ │ │ ├── Queue.java │ │ │ └── Stack.java │ │ ├── LeetCode │ │ ├── ArrayContainsDuplicate.java │ │ ├── BackSpaceStringCompare.java │ │ ├── BinaryTreeMaximumSumPath.java │ │ ├── ContainerWithMOstWater.java │ │ ├── CountOfSmallerAfterSelf.java │ │ ├── CourseSchedule.java │ │ ├── EditDistance.java │ │ ├── FirstBadVersion.java │ │ ├── FirstMissingPositive.java │ │ ├── HouseRobber.java │ │ ├── LargetsValueInEachTreeRow.java │ │ ├── LongestConsecutiveSequence.java │ │ ├── LongestPalindromicSubstring.java │ │ ├── MaximumAreaUnderHistogram.java │ │ ├── MaximumProductSubArray.java │ │ ├── Median2SortedArray.java │ │ ├── MergeKSortedList.java │ │ ├── MergeTwoSortedList.java │ │ ├── MinimumPathSum.java │ │ ├── MinimumWindowSubString.java │ │ ├── NthNodeFromEnd.java │ │ ├── NumberOfIsland.java │ │ ├── NumberOfSubMatrixThatSumToTarget.java │ │ ├── OddEvenLinkedList.java │ │ ├── PalindromeLinkedList.java │ │ ├── PalindromeNumber.java │ │ ├── PascalTriangle.java │ │ ├── PathSumBinaryTree.java │ │ ├── ReverseLinkedList.java │ │ ├── ReverseString.java │ │ ├── RobotBackToOrigin.java │ │ ├── RoomAndKeys.java │ │ ├── SkyLineProblem.java │ │ ├── SlidingWindowMaximum.java │ │ ├── Sort012inPlace.java │ │ ├── SplitArrayToFibonnaci.java │ │ ├── SquareOfSortedArray.java │ │ ├── SymmetricTree.java │ │ ├── ThreeSum.java │ │ ├── ThreeSumClosest.java │ │ ├── ToLowerCase.java │ │ ├── TrappingRainWater.java │ │ ├── TwoSum.java │ │ └── WordBreakII.java │ │ └── SystemDesign │ │ ├── .DS_Store │ │ ├── Elevator │ │ ├── CallingUnit.java │ │ ├── DispatcherUnit.java │ │ ├── ElevatorCar.java │ │ └── FloorCallingUnit.java │ │ ├── LRUCache.java │ │ ├── LRUImplementation.java │ │ ├── MovieTicketBooking.java │ │ ├── ParkingLot │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── ParkingLot.iml │ │ │ ├── misc.xml │ │ │ ├── modules.xml │ │ │ └── vcs.xml │ │ ├── Model │ │ │ ├── Address.java │ │ │ ├── ParkingSlotType.java │ │ │ ├── Ticket.java │ │ │ ├── Vehicle.java │ │ │ └── VehicleCategory.java │ │ ├── ParkingFloor.java │ │ ├── ParkingLot.java │ │ ├── ParkingMain.java │ │ └── ParkingSlot.java │ │ ├── SnakeAndLadder │ │ ├── Dice.java │ │ ├── GameBoard.java │ │ ├── Jumper.java │ │ ├── PlaySnakeAndLadder.java │ │ └── Player.java │ │ ├── TicTacToe │ │ ├── GameBoard.java │ │ ├── PlayGame.java │ │ └── Player.java │ │ └── TicTacToeNxN │ │ ├── GameBoard.java │ │ ├── PlayGame.java │ │ └── Player.java └── vacuumcleaner │ ├── SimpleVacuumController.java │ ├── controller │ └── VacuumService.java │ ├── enums │ └── DirectionEnum.java │ ├── model │ └── Cell.java │ ├── request │ └── MoveRequest.java │ ├── template │ ├── BizBaseCallback.java │ └── BizTemplate.java │ └── validator │ ├── BasicParameterValidator.java │ └── ParameterValidator.java ├── Low_level_Problem_set_2 ├── .DS_Store ├── StockBroking │ ├── .DS_Store │ └── model │ │ ├── Order.java │ │ ├── Portfolio.java │ │ ├── PortfolioItem.java │ │ ├── Stock.java │ │ └── User.java ├── TaskSchedulerLLD │ ├── .DS_Store │ ├── TaskSchedulerLLD.iml │ └── src │ │ ├── CustomSchedulerService.java │ │ ├── ScheduledTask.java │ │ └── UnabletoSchedule.java ├── amazon │ ├── Driver.java │ ├── constants │ │ ├── OrderStatus.java │ │ ├── PaymentMethods.java │ │ └── ShippingStatus.java │ ├── dao │ │ └── AmazonDao.java │ └── model │ │ ├── Admin.java │ │ ├── Category.java │ │ ├── Member.java │ │ ├── Order.java │ │ ├── PaymentInfo.java │ │ ├── Product.java │ │ ├── ReviewRating.java │ │ ├── ShoppingCart.java │ │ ├── ShoppingCartItem.java │ │ └── User.java ├── battleship │ ├── Driver.java │ ├── dao │ │ └── BattleshipDao.java │ └── model │ │ ├── Battleship.java │ │ ├── Board.java │ │ ├── BoardEntity.java │ │ ├── Carrier.java │ │ ├── Coordinate.java │ │ ├── Cruiser.java │ │ ├── Destroyer.java │ │ ├── Player.java │ │ ├── Ship.java │ │ └── Submarine.java ├── bowlingAlley │ ├── Driver.java │ ├── IGameRules.java │ ├── StandardGameRule.java │ ├── constants │ │ └── ScoreType.java │ ├── dao │ │ └── BowlingAlleyDao.java │ └── model │ │ ├── Player.java │ │ ├── RoundStats.java │ │ └── Score.java ├── cabBooking │ ├── .DS_Store │ ├── Driver.java │ ├── constants │ │ ├── BookingStatus.java │ │ ├── CabStatus.java │ │ ├── CabType.java │ │ └── CarType.java │ ├── dao │ │ └── CabBookingDao.java │ └── model │ │ ├── Account.java │ │ ├── Booking.java │ │ ├── Cab.java │ │ ├── Car.java │ │ ├── Driver.java │ │ ├── Location.java │ │ ├── User.java │ │ └── Vehicle.java ├── cabBooking2 │ ├── .DS_Store │ ├── Driver.java │ ├── constants │ │ ├── BookingStatus.java │ │ ├── CabStatus.java │ │ ├── CabType.java │ │ └── PaymentStatus.java │ ├── daao │ │ └── CabBooking2Dao.java │ └── model │ │ ├── Account.java │ │ ├── Booking.java │ │ ├── Cab.java │ │ ├── Car.java │ │ ├── Driver.java │ │ ├── Location.java │ │ ├── User.java │ │ └── Vehicle.java ├── cache │ ├── Driver.java │ ├── dao │ │ ├── CacheDao.java │ │ └── DefaultLevelCache.java │ ├── model │ │ ├── LevelCacheData.java │ │ └── ReadResponse.java │ ├── policy │ │ ├── IEvictionPolicy.java │ │ └── LRUEvictionPolicy.java │ ├── storage │ │ ├── IStorage.java │ │ └── InMemoryStorage.java │ └── tesr.txt ├── chess │ ├── Driver.java │ ├── constants │ │ ├── AccountStatus.java │ │ ├── GameStatus.java │ │ └── PieceType.java │ ├── dao │ │ └── ChessDao.java │ └── model │ │ ├── Account.java │ │ ├── Bishop.java │ │ ├── Board.java │ │ ├── Box.java │ │ ├── King.java │ │ ├── Knight.java │ │ ├── Move.java │ │ ├── Pawn.java │ │ ├── Piece.java │ │ ├── Player.java │ │ ├── Queen.java │ │ └── Rook.java ├── connect4 2 │ ├── .DS_Store │ ├── Driver.java │ ├── constants │ │ └── BallColor.java │ ├── dao │ │ └── GameDao.java │ └── model │ │ ├── BallType.java │ │ ├── Board.java │ │ ├── BoardHole.java │ │ ├── Player.java │ │ ├── RedBallType.java │ │ ├── User.java │ │ └── YellowBallType.java ├── connect4.zip ├── connect4 │ ├── Driver.java │ ├── constants │ │ └── BallColor.java │ ├── dao │ │ └── GameDao.java │ └── model │ │ ├── BallType.java │ │ ├── Board.java │ │ ├── BoardHole.java │ │ ├── Move.java │ │ ├── Player.java │ │ ├── RedBallType.java │ │ ├── User.java │ │ └── YellowBallType.java ├── customThreadPoolExecutor │ ├── CustomThreadPoolExecutor.java │ ├── Main.java │ ├── ScheduledExecutorQueue.java │ ├── ScheduledExecutorService.java │ ├── constants │ │ └── ScheduledTaskType.java │ └── model │ │ ├── ScheduledTask.java │ │ └── Task.java ├── elevator │ ├── FCFS.java │ ├── LOOK.java │ ├── SCAN.java │ └── SSTF.java ├── kafka │ ├── .DS_Store │ ├── Driver.java │ ├── handlers │ │ ├── SubscriberWorker.java │ │ └── TopicHandler.java │ ├── model │ │ ├── Message.java │ │ ├── Topic.java │ │ └── TopicSubscriber.java │ └── publicInterface │ │ ├── ISubscriber.java │ │ └── Kafka.java ├── movieTicketBooking │ ├── Driver.java │ ├── PaymentMethod.java │ ├── SeatType.java │ ├── dao │ │ └── MovieTicketBookingDao.java │ └── model │ │ ├── Booking.java │ │ ├── Cinema.java │ │ ├── City.java │ │ ├── Hall.java │ │ ├── Movie.java │ │ ├── PaymentInfo.java │ │ ├── Seat.java │ │ ├── Show.java │ │ └── User.java ├── movieTicketBooking2 │ ├── controller │ │ ├── BookingController.java │ │ ├── MovieController.java │ │ ├── ShowController.java │ │ └── TheatreController.java │ ├── model │ │ ├── Booking.java │ │ ├── Movie.java │ │ ├── Screen.java │ │ ├── Seat.java │ │ ├── SeatLock.java │ │ ├── Show.java │ │ └── Theatre.java │ ├── providers │ │ ├── InMemorySeatLockProvider.java │ │ └── SeatLockProvider.java │ ├── readme.md │ └── services │ │ ├── BookingService.java │ │ ├── MovieService.java │ │ ├── SeatAvailabilityService.java │ │ ├── ShowService.java │ │ └── TheatreService.java ├── multiThreadedMessageQueue │ ├── Driver.java │ ├── SleepingSubscriber.java │ ├── handler │ │ ├── SubscriberWorker.java │ │ └── TopicHandler.java │ ├── model │ │ ├── Message.java │ │ ├── Topic.java │ │ └── TopicSubscriber.java │ └── publicInterface │ │ ├── ISubscriber.java │ │ └── Queue.java ├── parkingLot │ ├── Driver.java │ ├── constants │ │ ├── TicketStatus.java │ │ └── VehicleType.java │ ├── dao │ │ ├── ParkingLotDao.java │ │ └── ParkingLotDaoImpl.java │ ├── models │ │ ├── account │ │ │ ├── Account.java │ │ │ └── Admin.java │ │ └── parking │ │ │ ├── EntryGate.java │ │ │ ├── ExitGate.java │ │ │ ├── Gate.java │ │ │ ├── ParkingFloor.java │ │ │ ├── ParkingLot.java │ │ │ ├── ParkingSpot.java │ │ │ ├── ParkingTicket.java │ │ │ └── Vehicle.java │ └── services │ │ └── ParkingLotService.java ├── parkingLot2 │ ├── Driver.java │ ├── constants │ │ ├── TicketStatus.java │ │ └── VehicleType.java │ ├── dao │ │ └── ParkingLotDao.java │ └── model │ │ ├── EntryGate.java │ │ ├── ExitGate.java │ │ ├── Gate.java │ │ ├── ParkingFloor.java │ │ ├── ParkingLot.java │ │ ├── ParkingSpot.java │ │ ├── ParkingTicket.java │ │ └── Vehicle.java ├── snakeLadder │ ├── .DS_Store │ ├── Driver.java │ ├── dao │ │ ├── .DS_Store │ │ ├── SnakeLadderDao.java │ │ └── impl │ │ │ └── SnakeLadderDaoImpl.java │ ├── model │ │ ├── Board.java │ │ ├── GameObjects.java │ │ ├── Ladder.java │ │ ├── Player.java │ │ └── Snake.java │ └── services │ │ └── SnakeLadderService.java ├── splitwise │ ├── Driver.java │ ├── constants │ │ └── ExpenseTypeConstants.java │ ├── dao │ │ ├── SplitwiseDao.java │ │ └── impl │ │ │ └── SplitwiseDaoImpl.java │ ├── model │ │ ├── expense │ │ │ ├── EqualExpenseType.java │ │ │ ├── ExactExpenseType.java │ │ │ ├── Expense.java │ │ │ ├── ExpenseType.java │ │ │ └── PercentExpenseType.java │ │ └── user │ │ │ └── User.java │ ├── pojo │ │ └── ExpenseDivisionVariables.java │ └── service │ │ └── SplitwiseService.java ├── stackoverflow │ ├── Driver.java │ ├── constants │ │ └── VoteType.java │ ├── dao │ │ └── StackOverflowDao.java │ └── model │ │ ├── Account.java │ │ ├── Answer.java │ │ ├── Badge.java │ │ ├── Comment.java │ │ ├── Entity.java │ │ ├── Guest.java │ │ ├── Member.java │ │ ├── Moderator.java │ │ ├── Question.java │ │ └── Tag.java ├── ticTacToe │ ├── Driver.java │ ├── constants │ │ └── PieceType.java │ ├── dao │ │ ├── TicTacToeDao.java │ │ └── impl │ │ │ └── TicTacToeDaoImpl.java │ ├── model │ │ ├── Board.java │ │ ├── Piece.java │ │ ├── PieceO.java │ │ ├── PieceX.java │ │ └── Player.java │ └── service │ │ └── TicTacToeService.java └── trello │ ├── Driver.java │ ├── constants │ └── BoardType.java │ ├── dao │ ├── TrelloApplicationDao.java │ └── impl │ │ └── TrelloApplicationDaoImpl.java │ ├── model │ ├── Board.java │ ├── BoardList.java │ ├── Card.java │ ├── Entity.java │ └── User.java │ └── service │ └── TrelloApplicationService.java ├── PropertyHunt ├── .idea │ ├── .gitignore │ ├── misc.xml │ ├── modules.xml │ ├── uiDesigner.xml │ └── vcs.xml ├── PropertyHunt.iml ├── Question Image │ ├── .DS_Store │ ├── Image_1.jpeg │ ├── Image_2.jpeg │ ├── Image_3.jpeg │ └── Image_4.jpeg ├── out │ └── production │ │ ├── ClearTripLLD │ │ ├── META-INF │ │ │ └── ClearTripLLD.kotlin_module │ │ ├── PropertyHutApplication.class │ │ ├── UI │ │ │ └── PropertyHutDisplay.class │ │ ├── Util │ │ │ └── SearchPropertyUtil.class │ │ ├── dao │ │ │ └── PropertyHuntDao.class │ │ ├── enums │ │ │ ├── ListingType.class │ │ │ └── RoomType.class │ │ ├── exceptions │ │ │ └── PropertyNotAvailable.class │ │ ├── models │ │ │ ├── Property.class │ │ │ ├── PropertyPrice.class │ │ │ ├── PropertySold.class │ │ │ └── User.class │ │ └── service │ │ │ ├── PropertyHuntService.class │ │ │ └── PropertyHuntServiceImpl.class │ │ └── PropertyHunt │ │ ├── PropertyHutApplication.class │ │ ├── UI │ │ └── PropertyHutDisplay.class │ │ ├── Util │ │ └── SearchPropertyUtil.class │ │ ├── dao │ │ └── PropertyHuntDao.class │ │ ├── enums │ │ ├── ListingType.class │ │ └── RoomType.class │ │ ├── exceptions │ │ └── PropertyNotAvailable.class │ │ ├── models │ │ ├── Property.class │ │ ├── PropertyPrice.class │ │ ├── PropertySold.class │ │ └── User.class │ │ └── service │ │ ├── PropertyHuntService.class │ │ └── PropertyHuntServiceImpl.class ├── readme.md └── src │ ├── PropertyHutApplication.java │ ├── UI │ └── PropertyHutDisplay.java │ ├── Util │ └── SearchPropertyUtil.java │ ├── dao │ └── PropertyHuntDao.java │ ├── enums │ ├── ListingType.java │ └── RoomType.java │ ├── exceptions │ └── PropertyNotAvailable.java │ ├── models │ ├── Property.java │ ├── PropertyPrice.java │ ├── PropertySold.java │ └── User.java │ └── service │ ├── PropertyHuntService.java │ └── PropertyHuntServiceImpl.java ├── README.md ├── Ride Sharing ├── .DS_Store ├── DriverAndRiderApplication │ ├── .classpath │ ├── .project │ ├── .settings │ │ └── org.eclipse.jdt.core.prefs │ ├── Test │ │ └── test │ │ │ ├── EligibleDriverTest.java │ │ │ ├── MainClassTest.java │ │ │ └── businessLogicImplTest.java │ ├── bin │ │ ├── application │ │ │ └── mainClass.class │ │ ├── business │ │ │ └── logic │ │ │ │ ├── BusinessLogic.class │ │ │ │ └── implementation │ │ │ │ ├── BusinessLogicImplementation.class │ │ │ │ └── EligibleDrivers.class │ │ ├── data │ │ │ └── DummyData.class │ │ ├── input │ │ │ └── datainput.class │ │ └── test │ │ │ ├── EligibleDriverTest.class │ │ │ ├── MainClassTest.class │ │ │ └── businessLogicImplTest.class │ └── src │ │ ├── application │ │ └── mainClass.java │ │ ├── business │ │ └── logic │ │ │ ├── BusinessLogic.java │ │ │ └── implementation │ │ │ ├── BusinessLogicImplementation.java │ │ │ └── EligibleDrivers.java │ │ ├── data │ │ └── DummyData.java │ │ └── input │ │ └── datainput.java ├── Ride-Sharing Application │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── jarRepositories.xml │ │ ├── misc.xml │ │ └── vcs.xml │ ├── README.md │ ├── Ride-Sharing Application.iml │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ ├── Driver.java │ │ ├── RideAlgorithm │ │ ├── IRideSelectionStrategy.java │ │ ├── MostVacantStrategy.java │ │ ├── PreferredVehicleStrategy.java │ │ ├── RideManager.java │ │ └── RiderFactory.java │ │ ├── dao │ │ ├── IUserDAO.java │ │ ├── IVehicleDAO.java │ │ ├── UserDAO.java │ │ └── VehicleDAO.java │ │ ├── exception │ │ └── SeatNotVacantException.java │ │ ├── model │ │ ├── Ride.java │ │ ├── RideStatus.java │ │ ├── User.java │ │ └── Vehicle.java │ │ └── service │ │ ├── IOnBoardingService.java │ │ ├── IRideService.java │ │ ├── OnBoardingService.java │ │ └── RideService.java ├── RideShare_MachineCoding_Sample │ ├── .DS_Store │ ├── LICENSE │ ├── README.md │ ├── RideShareFinal │ │ ├── bin │ │ │ ├── driver │ │ │ │ └── driver.class │ │ │ ├── logic │ │ │ │ ├── earliestRide.class │ │ │ │ ├── fastestRide.class │ │ │ │ ├── rideService.class │ │ │ │ └── userService.class │ │ │ └── model │ │ │ │ ├── ride.class │ │ │ │ ├── user.class │ │ │ │ └── vehicle.class │ │ └── src │ │ │ ├── driver │ │ │ └── driver.java │ │ │ ├── logic │ │ │ ├── earliestRide.java │ │ │ ├── fastestRide.java │ │ │ ├── rideService.java │ │ │ └── userService.java │ │ │ └── model │ │ │ ├── ride.java │ │ │ ├── user.java │ │ │ └── vehicle.java │ ├── f1.png │ └── f2.png ├── RideSharing2 │ ├── .DS_Store │ ├── .idea │ │ ├── .gitignore │ │ ├── RideSharing.iml │ │ ├── misc.xml │ │ ├── modules.xml │ │ └── vcs.xml │ ├── Database │ │ ├── RideManager.java │ │ └── UserManager.java │ ├── Exceptions │ │ ├── AlreadyRideExists.java │ │ ├── InvalidUser.java │ │ ├── InvalidVehicle.java │ │ ├── NoRideFound.java │ │ ├── UserAlreadyExists.java │ │ └── VehicleAlreadyExists.java │ ├── Main │ │ └── RideSharingTest.java │ ├── Model │ │ ├── MostVacantStrategy.java │ │ ├── PreferredVehicleStrategy.java │ │ ├── Ride.java │ │ ├── RideStatus.java │ │ ├── SelectionStrategy.java │ │ ├── SelectionStrategyType.java │ │ ├── User.java │ │ └── Vehicle.java │ ├── README.md │ └── Service │ │ └── Application.java ├── cab_booking_system │ ├── .DS_Store │ ├── README.md │ ├── cab_booking_system.iml │ └── src │ │ ├── .DS_Store │ │ ├── CabBookingSystemMainApp.java │ │ ├── cab_manager │ │ └── CabManager.java │ │ ├── constants │ │ └── CabBookingConstants.java │ │ ├── entity │ │ ├── AbstractAccount.java │ │ ├── BaseCab.java │ │ ├── Cab.java │ │ ├── CabBookingRequest.java │ │ ├── Driver.java │ │ ├── Location.java │ │ ├── Rider.java │ │ └── RiderAccount.java │ │ ├── enums │ │ ├── AccountStatus.java │ │ ├── CabBookingStatus.java │ │ ├── CabStatus.java │ │ └── RiderStatus.java │ │ ├── rider_manager │ │ └── RiderManager.java │ │ └── service │ │ ├── CabBookingService.java │ │ ├── ICabAssignStrategy.java │ │ └── SimpleCabAssignStrategy.java ├── miniuber │ ├── Helper.java │ ├── Location.java │ ├── MiniUber.java │ ├── MiniUberImpl.java │ └── Trip.java ├── ride-sharing-low-level-design │ ├── .DS_Store │ ├── LICENSE │ ├── README.md │ ├── class diagram │ │ └── basic-ride-sharing-app.png │ ├── pom.xml │ ├── problem-statement.pdf │ └── src │ │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── company │ │ │ ├── .DS_Store │ │ │ ├── RideApp.java │ │ │ ├── exception │ │ │ ├── DriverAlreadyPresentException.java │ │ │ ├── DriverNotFoundException.java │ │ │ ├── InvalidRideParamException.java │ │ │ ├── RiderAlreadyPresentException.java │ │ │ ├── RiderNotFoundException.java │ │ │ ├── TripNotFoundException.java │ │ │ └── TripStatusException.java │ │ │ ├── manager │ │ │ ├── DriverManager.java │ │ │ ├── RiderManager.java │ │ │ └── TripManager.java │ │ │ ├── model │ │ │ ├── Driver.java │ │ │ ├── Rider.java │ │ │ ├── Trip.java │ │ │ └── TripStatus.java │ │ │ └── strategy │ │ │ ├── DefaultPricingStrategy.java │ │ │ ├── DriverMatchingStrategy.java │ │ │ ├── OptimalDriverStrategy.java │ │ │ └── PricingStrategy.java │ │ └── test │ │ └── java │ │ └── com │ │ └── company │ │ ├── DriverManagerTest.java │ │ ├── RiderManagerTest.java │ │ └── TripManagerTest.java ├── ridesharing │ ├── .DS_Store │ ├── RideSharingApp.java │ ├── controllers │ │ ├── RideController.java │ │ ├── UserRegistrationController.java │ │ └── VehicleRegistrationController.java │ ├── exceptions │ │ ├── NoVehicleRegisteredUnderUserExceptoin.java │ │ └── UserNotRegisteredException.java │ ├── model │ │ ├── City.java │ │ ├── Gender.java │ │ ├── Ride.java │ │ ├── RideType.java │ │ ├── User.java │ │ └── Vehicle.java │ ├── rideselection │ │ ├── EarliestRideStrategy.java │ │ ├── FastestRideStrategy.java │ │ ├── RideSelectionStrategy.java │ │ └── RideStrategyFactory.java │ └── service │ │ ├── RideService.java │ │ ├── UserService.java │ │ └── VehicleService.java ├── ridesharing1 │ ├── .DS_Store │ ├── out │ │ ├── production │ │ │ └── ridesharing │ │ │ │ └── com │ │ │ │ └── github │ │ │ │ └── akshay │ │ │ │ └── ridesharing │ │ │ │ ├── RideSharingApp.class │ │ │ │ ├── controllers │ │ │ │ ├── RideController.class │ │ │ │ ├── UserRegistrationController.class │ │ │ │ └── VehicleRegistrationController.class │ │ │ │ ├── exceptions │ │ │ │ ├── NoVehicleRegisteredUnderUserExceptoin.class │ │ │ │ └── UserNotRegisteredException.class │ │ │ │ ├── model │ │ │ │ ├── City.class │ │ │ │ ├── Gender.class │ │ │ │ ├── Ride.class │ │ │ │ ├── RideType.class │ │ │ │ ├── User.class │ │ │ │ └── Vehicle.class │ │ │ │ ├── rideselection │ │ │ │ ├── EarliestRideStrategy.class │ │ │ │ ├── FastestRideStrategy.class │ │ │ │ ├── RideSelectionStrategy.class │ │ │ │ └── RideStrategyFactory.class │ │ │ │ └── service │ │ │ │ ├── RideService.class │ │ │ │ ├── UserService.class │ │ │ │ └── VehicleService.class │ │ └── test │ │ │ └── ridesharing │ │ │ └── com │ │ │ └── github │ │ │ └── akshay │ │ │ └── ridesharing │ │ │ └── RideSharingAppTest.class │ ├── ridesharing.iml │ └── src │ │ ├── .DS_Store │ │ ├── main │ │ ├── .DS_Store │ │ └── java │ │ │ ├── .DS_Store │ │ │ └── com │ │ │ ├── .DS_Store │ │ │ └── github │ │ │ ├── .DS_Store │ │ │ └── akshay │ │ │ └── .DS_Store │ │ └── test │ │ └── java │ │ └── com │ │ └── github │ │ └── akshay │ │ └── ridesharing │ │ └── RideSharingAppTest.java └── uber │ ├── .DS_Store │ ├── build.gradle │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── settings.gradle │ └── src │ ├── .DS_Store │ ├── main │ ├── .DS_Store │ ├── java │ │ ├── .DS_Store │ │ └── lowleveldesign │ │ │ ├── .DS_Store │ │ │ └── uber │ │ │ ├── .DS_Store │ │ │ └── api │ │ │ ├── .DS_Store │ │ │ ├── LowLevelDesignUberApplication.java │ │ │ ├── authentication │ │ │ └── SecurityConfig.java │ │ │ ├── beans │ │ │ └── models │ │ │ │ └── Position.java │ │ │ ├── clients │ │ │ ├── AuthenticationServiceClient.java │ │ │ ├── LocationServiceClient.java │ │ │ ├── OtpServiceClient.java │ │ │ ├── PaymentServiceClient.java │ │ │ ├── RegistrationServiceClient.java │ │ │ ├── TrackingServiceClient.java │ │ │ └── UserServiceClient.java │ │ │ ├── controllers │ │ │ ├── AuthenticationController.java │ │ │ ├── DriverController.java │ │ │ └── RiderController.java │ │ │ ├── core │ │ │ ├── components │ │ │ │ └── proxies │ │ │ │ │ ├── LocationServiceProxy.java │ │ │ │ │ ├── OtpServiceProxy.java │ │ │ │ │ ├── PaymentServiceProxy.java │ │ │ │ │ ├── RegistrationServiceProxy.java │ │ │ │ │ ├── TrackingServiceProxy.java │ │ │ │ │ └── UserServiceProxy.java │ │ │ ├── entities │ │ │ │ ├── Booking.java │ │ │ │ ├── BookingStatus.java │ │ │ │ ├── BookingType.java │ │ │ │ ├── Cab.java │ │ │ │ ├── CabType.java │ │ │ │ ├── CardType.java │ │ │ │ ├── Color.java │ │ │ │ ├── Driver.java │ │ │ │ ├── Gender.java │ │ │ │ ├── Location.java │ │ │ │ ├── OTP.java │ │ │ │ ├── PaymentGateway.java │ │ │ │ ├── PaymentMethod.java │ │ │ │ ├── PaymentMethodType.java │ │ │ │ ├── PaymentReceipt.java │ │ │ │ ├── Rider.java │ │ │ │ ├── Role.java │ │ │ │ ├── User.java │ │ │ │ └── base │ │ │ │ │ └── BaseAbstractAuditableEntity.java │ │ │ ├── services │ │ │ │ ├── IBookingService.java │ │ │ │ └── ITrackingService.java │ │ │ └── startegies │ │ │ │ └── eta │ │ │ │ ├── EuclideanETAStrategy.java │ │ │ │ └── IETAStrategy.java │ │ │ ├── enums │ │ │ └── RoleName.java │ │ │ ├── exceptions │ │ │ ├── APIException.java │ │ │ └── NoSuchUserException.java │ │ │ ├── repositories │ │ │ ├── BookingRepository.java │ │ │ ├── DriverRepository.java │ │ │ ├── RiderRepository.java │ │ │ ├── RoleRepository.java │ │ │ └── UserRepository.java │ │ │ └── utils │ │ │ └── RandomUtils.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── lowleveldesign │ └── uber │ └── LowLevelDesignUberApplicationTests.java ├── StockExchange ├── .DS_Store ├── .idea │ ├── misc.xml │ ├── modules.xml │ ├── runConfigurations.xml │ ├── uiDesigner.xml │ ├── vcs.xml │ └── workspace.xml ├── Navi.iml ├── out │ └── production │ │ └── Navi │ │ ├── StockExchangeApplication.class │ │ ├── constants │ │ └── OrderType.class │ │ ├── dao │ │ ├── StockExchangeDao$1.class │ │ └── StockExchangeDao.class │ │ ├── data.txt │ │ ├── model │ │ ├── BuyOrder.class │ │ ├── Order.class │ │ ├── OrderFactory.class │ │ └── SellOrder.class │ │ ├── service │ │ ├── StockExchangeService.class │ │ └── StockExchangeServiceImpl.class │ │ └── ui │ │ └── ExecuteOrders.class ├── readme.md └── src │ ├── StockExchangeApplication.java │ ├── constants │ └── OrderType.java │ ├── dao │ └── StockExchangeDao.java │ ├── data.txt │ ├── model │ ├── BuyOrder.java │ ├── Order.java │ ├── OrderFactory.java │ └── SellOrder.java │ ├── service │ ├── StockExchangeService.java │ └── StockExchangeServiceImpl.java │ └── ui │ └── ExecuteOrders.java ├── ledger_company_navi ├── .DS_Store ├── README.md ├── pom.xml └── src │ ├── .DS_Store │ └── main │ ├── .DS_Store │ └── java │ ├── .DS_Store │ └── com │ └── navi │ └── ledger │ ├── Driver.java │ ├── balance │ ├── BalanceManager.java │ └── BalanceProcessor.java │ ├── command │ ├── CommandExecution.java │ ├── CommandFactory.java │ └── CommandManager.java │ ├── loan │ ├── LoanManager.java │ └── LoanProcessor.java │ ├── model │ ├── Loan.java │ └── Payment.java │ ├── payment │ ├── PaymentManager.java │ └── PaymentProcessor.java │ └── util │ └── Util.java └── leetcode-lld-flipkart-coding-blox ├── .DS_Store ├── .idea ├── .gitignore ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── compiler.xml ├── encodings.xml ├── jarRepositories.xml ├── libraries │ ├── Java_EE_6_Java_EE_6.xml │ ├── Maven__antlr_antlr_2_7_7.xml │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ ├── Maven__com_fasterxml_classmate_1_5_1.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_4.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_11_4.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_11_4.xml │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_4.xml │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_4.xml │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_4.xml │ ├── Maven__com_google_code_findbugs_jsr305_3_0_2.xml │ ├── Maven__com_google_errorprone_error_prone_annotations_2_3_4.xml │ ├── Maven__com_google_guava_failureaccess_1_0_1.xml │ ├── Maven__com_google_guava_guava_30_1_jre.xml │ ├── Maven__com_google_guava_listenablefuture_9999_0_empty_to_avoid_conflict_with_guava.xml │ ├── Maven__com_google_j2objc_j2objc_annotations_1_3.xml │ ├── Maven__com_h2database_h2_1_4_200.xml │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ ├── Maven__com_sun_activation_jakarta_activation_1_2_2.xml │ ├── Maven__com_sun_istack_istack_commons_runtime_3_0_11.xml │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ ├── Maven__com_zaxxer_HikariCP_3_4_5.xml │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ ├── Maven__jakarta_persistence_jakarta_persistence_api_2_2_3.xml │ ├── Maven__jakarta_transaction_jakarta_transaction_api_1_3_3.xml │ ├── Maven__jakarta_validation_jakarta_validation_api_2_0_2.xml │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml │ ├── Maven__junit_junit_4_13_2.xml │ ├── Maven__mysql_mysql_connector_java_8_0_23.xml │ ├── Maven__net_bytebuddy_byte_buddy_1_10_20.xml │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_20.xml │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ ├── Maven__net_minidev_json_smart_2_3.xml │ ├── Maven__org_apache_commons_commons_collections4_4_4.xml │ ├── Maven__org_apache_commons_commons_lang3_3_11.xml │ ├── Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_43.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_43.xml │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ ├── Maven__org_aspectj_aspectjweaver_1_9_6.xml │ ├── Maven__org_assertj_assertj_core_3_18_1.xml │ ├── Maven__org_atteo_evo_inflector_1_2_2.xml │ ├── Maven__org_checkerframework_checker_qual_3_5_0.xml │ ├── Maven__org_dom4j_dom4j_2_1_3.xml │ ├── Maven__org_glassfish_jakarta_el_3_0_3.xml │ ├── Maven__org_glassfish_jaxb_jaxb_runtime_2_3_3.xml │ ├── Maven__org_glassfish_jaxb_txw2_2_3_3.xml │ ├── Maven__org_hamcrest_hamcrest_2_2.xml │ ├── Maven__org_hamcrest_hamcrest_core_2_2.xml │ ├── Maven__org_hibernate_common_hibernate_commons_annotations_5_1_2_Final.xml │ ├── Maven__org_hibernate_hibernate_core_5_4_28_Final.xml │ ├── Maven__org_hibernate_validator_hibernate_validator_6_1_7_Final.xml │ ├── Maven__org_javassist_javassist_3_27_0_GA.xml │ ├── Maven__org_jboss_jandex_2_2_3_Final.xml │ ├── Maven__org_jboss_logging_jboss_logging_3_4_1_Final.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_5_7_1.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_7_1.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_7_1.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_7_1.xml │ ├── Maven__org_junit_platform_junit_platform_commons_1_7_1.xml │ ├── Maven__org_junit_platform_junit_platform_engine_1_7_1.xml │ ├── Maven__org_mockito_mockito_core_3_6_28.xml │ ├── Maven__org_mockito_mockito_junit_jupiter_3_6_28.xml │ ├── Maven__org_objenesis_objenesis_3_1.xml │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ ├── Maven__org_projectlombok_lombok_1_18_18.xml │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ ├── Maven__org_springframework_boot_spring_boot_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_aop_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_data_jpa_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_data_rest_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_validation_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_test_2_4_3.xml │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_4_3.xml │ ├── Maven__org_springframework_data_spring_data_commons_2_4_5.xml │ ├── Maven__org_springframework_data_spring_data_jpa_2_4_5.xml │ ├── Maven__org_springframework_data_spring_data_rest_core_3_4_5.xml │ ├── Maven__org_springframework_data_spring_data_rest_webmvc_3_4_5.xml │ ├── Maven__org_springframework_hateoas_spring_hateoas_1_2_4.xml │ ├── Maven__org_springframework_plugin_spring_plugin_core_2_0_0_RELEASE.xml │ ├── Maven__org_springframework_spring_aop_5_3_4.xml │ ├── Maven__org_springframework_spring_aspects_5_3_4.xml │ ├── Maven__org_springframework_spring_beans_5_3_4.xml │ ├── Maven__org_springframework_spring_context_5_3_4.xml │ ├── Maven__org_springframework_spring_core_5_3_4.xml │ ├── Maven__org_springframework_spring_expression_5_3_4.xml │ ├── Maven__org_springframework_spring_jcl_5_3_4.xml │ ├── Maven__org_springframework_spring_jdbc_5_3_4.xml │ ├── Maven__org_springframework_spring_orm_5_3_4.xml │ ├── Maven__org_springframework_spring_test_5_3_4.xml │ ├── Maven__org_springframework_spring_tx_5_3_4.xml │ ├── Maven__org_springframework_spring_web_5_3_4.xml │ ├── Maven__org_springframework_spring_webmvc_5_3_4.xml │ ├── Maven__org_xmlunit_xmlunit_core_2_7_0.xml │ └── Maven__org_yaml_snakeyaml_1_27.xml ├── misc.xml ├── modules.xml ├── uiDesigner.xml └── vcs.xml ├── README.md ├── SDE2- MC Question.pdf ├── demo.iml ├── lib ├── javax.annotation.jar ├── javax.ejb.jar ├── javax.jms.jar ├── javax.persistence.jar ├── javax.resource.jar ├── javax.servlet.jar ├── javax.servlet.jsp.jar ├── javax.servlet.jsp.jstl.jar └── javax.transaction.jar ├── pom.xml ├── problem-statement.md ├── src ├── main │ ├── java │ │ └── io │ │ │ └── hari │ │ │ └── demo │ │ │ ├── DemoApplication.java │ │ │ ├── config │ │ │ └── AppConfig.java │ │ │ ├── constant │ │ │ ├── ContestStatus.java │ │ │ └── Level.java │ │ │ ├── dao │ │ │ ├── BaseDao.java │ │ │ ├── ContestDao.java │ │ │ ├── QuestionDao.java │ │ │ └── UserDao.java │ │ │ ├── entity │ │ │ ├── BaseEntity.java │ │ │ ├── Contest.java │ │ │ ├── Question.java │ │ │ ├── User.java │ │ │ ├── converter │ │ │ │ ├── ContestQuestionsConverter.java │ │ │ │ └── UserContestQuestionsConverter.java │ │ │ └── helper │ │ │ │ ├── ContestQuestions.java │ │ │ │ └── UserContestQuestions.java │ │ │ └── service │ │ │ ├── ContestService.java │ │ │ ├── QuestionService.java │ │ │ └── UserService.java │ └── resources │ │ ├── application-dev.yml │ │ └── application.properties └── test │ └── java │ └── io │ └── hari │ └── demo │ └── DemoApplicationTests.java └── target ├── classes ├── application-dev.yml ├── application.properties └── io │ └── hari │ └── demo │ ├── DemoApplication.class │ ├── config │ └── AppConfig.class │ ├── constant │ ├── ContestStatus.class │ └── Level.class │ ├── dao │ ├── BaseDao.class │ ├── ContestDao.class │ ├── QuestionDao.class │ └── UserDao.class │ ├── entity │ ├── BaseEntity.class │ ├── Contest$ContestBuilder.class │ ├── Contest.class │ ├── Question$QuestionBuilder.class │ ├── Question.class │ ├── User$UserBuilder.class │ ├── User.class │ └── converter │ │ └── ContestQuestionsConverter.class │ └── service │ ├── ContestService.class │ └── QuestionService.class └── test-classes └── io └── hari └── demo └── DemoApplicationTests.class /Cricket Match Dashboard/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Cricket Match Dashboard/.DS_Store -------------------------------------------------------------------------------- /Cricket Match Dashboard/out/production/Cricket Match Dashboard/META-INF/Cricket Match Dashboard.kotlin_module: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Cricket Match Dashboard/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Cricket Match Dashboard/src/.DS_Store -------------------------------------------------------------------------------- /Cricket Match Dashboard/src/enums/MatchResult.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum MatchResult { 4 | WON, 5 | DRAWN 6 | } 7 | -------------------------------------------------------------------------------- /Cricket Match Dashboard/src/enums/MatchStatus.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum MatchStatus { 4 | NOT_STARTED, 5 | IN_PROGRESS, 6 | COMPLETED 7 | } 8 | -------------------------------------------------------------------------------- /Event_calendar_flipkart/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Event_calendar_flipkart/.DS_Store -------------------------------------------------------------------------------- /Event_calendar_flipkart/Event Calendar.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Event_calendar_flipkart/Event Calendar.pdf -------------------------------------------------------------------------------- /Event_calendar_flipkart/out/production/mcoding/com/sss/mcoding/Driver.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Event_calendar_flipkart/out/production/mcoding/com/sss/mcoding/Driver.class -------------------------------------------------------------------------------- /Event_calendar_flipkart/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Event_calendar_flipkart/src/.DS_Store -------------------------------------------------------------------------------- /Event_calendar_flipkart/src/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Event_calendar_flipkart/src/com/.DS_Store -------------------------------------------------------------------------------- /Event_calendar_flipkart/src/com/sss/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Event_calendar_flipkart/src/com/sss/.DS_Store -------------------------------------------------------------------------------- /Event_calendar_flipkart/src/com/sss/mcoding/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Event_calendar_flipkart/src/com/sss/mcoding/.DS_Store -------------------------------------------------------------------------------- /FoodKart/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/.DS_Store -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/Exceptions/RestaurantAlreadyPresent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/Exceptions/RestaurantAlreadyPresent.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/Exceptions/RestaurantNotPresent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/Exceptions/RestaurantNotPresent.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/Exceptions/UserAlreadyPresent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/Exceptions/UserAlreadyPresent.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/Exceptions/UserNotPresent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/Exceptions/UserNotPresent.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/FoodKartApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/FoodKartApplication.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/Util/FoodKartUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/Util/FoodKartUtil.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/dao/RestaurantDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/dao/RestaurantDao.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/dao/UserDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/dao/UserDao.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/enums/Gender.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/enums/Gender.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/model/Comment.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/model/Comment.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/model/FoodItem.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/model/FoodItem.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/model/Rating.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/model/Rating.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/model/Restaurant.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/model/Restaurant.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/model/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/model/User.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/service/FoodKartRestaurantService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/service/FoodKartRestaurantService.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/service/FoodKartRestaurantServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/service/FoodKartRestaurantServiceImpl.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/service/FoodKartUserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/service/FoodKartUserService.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/service/FoodKartUserServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/service/FoodKartUserServiceImpl.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/strategy/PriceStrategy$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/strategy/PriceStrategy$1.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/strategy/PriceStrategy.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/strategy/PriceStrategy.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/strategy/RatingStrategy$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/strategy/RatingStrategy$1.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/strategy/RatingStrategy.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/strategy/RatingStrategy.class -------------------------------------------------------------------------------- /FoodKart/out/production/FoodKart/strategy/RestaurantDisplayStrategy.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/FoodKart/out/production/FoodKart/strategy/RestaurantDisplayStrategy.class -------------------------------------------------------------------------------- /FoodKart/src/Exceptions/RestaurantNotPresent.java: -------------------------------------------------------------------------------- 1 | package Exceptions; 2 | 3 | public class RestaurantNotPresent extends RuntimeException { 4 | public RestaurantNotPresent(String message) { 5 | super(message); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /FoodKart/src/Exceptions/UserAlreadyPresent.java: -------------------------------------------------------------------------------- 1 | package Exceptions; 2 | 3 | public class UserAlreadyPresent extends RuntimeException { 4 | public UserAlreadyPresent(String message) { 5 | super(message); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /FoodKart/src/Exceptions/UserNotPresent.java: -------------------------------------------------------------------------------- 1 | package Exceptions; 2 | 3 | public class UserNotPresent extends RuntimeException{ 4 | public UserNotPresent(String message) { 5 | super(message); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /FoodKart/src/enums/Gender.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum Gender { 4 | MALE, 5 | FEMALE 6 | } 7 | -------------------------------------------------------------------------------- /FoodKart/src/model/Order.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public class Order { 4 | int OrderID; 5 | FoodItem item; 6 | User user; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/ATMMachine/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/ATMMachine/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/ATMMachine/DepositMedium.java: -------------------------------------------------------------------------------- 1 | package ATMMachine; 2 | 3 | public enum DepositMedium { 4 | CASH, 5 | CHECK; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/ATMMachine/Transaction/TransactionType.java: -------------------------------------------------------------------------------- 1 | package ATMMachine.Transaction; 2 | 3 | public enum TransactionType { 4 | CASH_DEPOSIT, 5 | CASH_WITHDRAW, 6 | CHECK_DEPOSIT, 7 | BALANCE_ENQUIRY; 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Amazon/Amazon_Flipkart System Design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Amazon/Amazon_Flipkart System Design.png -------------------------------------------------------------------------------- /Low_level_Design_Problems/Amazon/README.md: -------------------------------------------------------------------------------- 1 | ![alt text](Amazon_Flipkart System Design.png) -------------------------------------------------------------------------------- /Low_level_Design_Problems/Bowling-Alley-Machine-Coding-Flipkart-Interview/Abstract/Game.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Bowling_Alley 4 | { 5 | abstract class Game 6 | { 7 | abstract public void Start(); 8 | } 9 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/Bowling-Alley-Machine-Coding-Flipkart-Interview/README.md: -------------------------------------------------------------------------------- 1 | "# Bowling-Alley-Machine-Coding-Flipkart-Interview" 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Bowling-Alley-Machine-Coding-Flipkart-Interview/obj/Debug/netcoreapp3.1/Bowling Alley.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 258f0144b65e2d649cb9ba3fed7a6a476815e808 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Bowling-Alley-Machine-Coding-Flipkart-Interview/obj/Debug/netcoreapp3.1/Bowling Alley.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | e5e5d74186bca319c93912739355e5087c6b9915 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Bowling-Alley-Machine-Coding-Flipkart-Interview/obj/Debug/netcoreapp3.1/Bowling Alley.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | 86c8e15dd33445635927cfaf398408205fd11473 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Bowling-Alley-Machine-Coding-Flipkart/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Bowling-Alley-Machine-Coding-Flipkart/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Bowling-Alley-Machine-Coding-Flipkart/BowlingAlley/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Bowling-Alley-Machine-Coding-Flipkart/BowlingAlley/BowlingAlley.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Bowling-Alley-Machine-Coding-Flipkart/README.md: -------------------------------------------------------------------------------- 1 | # Bowling-Alley-Machine-Coding-Flipkart -------------------------------------------------------------------------------- /Low_level_Design_Problems/Calculator-Alternative/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Calculator-Alternative/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Calculator-Alternative/classes/com/calc/Command.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Calculator-Alternative/classes/com/calc/Command.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Calculator-Alternative/classes/com/calc/Invoker.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Calculator-Alternative/classes/com/calc/Invoker.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Calculator-Alternative/source/com/calc/Command.java: -------------------------------------------------------------------------------- 1 | package com.calc; 2 | 3 | public interface Command { 4 | public void execute(); 5 | public void undo(); 6 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/Calculator/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Calculator/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Calculator/classes/com/calc/Calculator.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Calculator/classes/com/calc/Calculator.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Calculator/classes/com/calc/CalculatorTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Calculator/classes/com/calc/CalculatorTest.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Calculator/classes/com/calc/Command.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Calculator/classes/com/calc/Command.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Calculator/classes/com/calc/ConcreteCommand.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Calculator/classes/com/calc/ConcreteCommand.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Calculator/classes/com/calc/Invoker.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Calculator/classes/com/calc/Invoker.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Calculator/source/com/calc/Command.java: -------------------------------------------------------------------------------- 1 | package com.calc; 2 | 3 | public interface Command { 4 | public void execute(); 5 | public void unexecute(); 6 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/Coffee Machine - MC Question.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Coffee Machine - MC Question.pdf -------------------------------------------------------------------------------- /Low_level_Design_Problems/CountryElectionSystem/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/CountryElectionSystem/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/CountryElectionSystem/.gradle/4.8/fileChanges/last-build.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/CountryElectionSystem/.gradle/buildOutputCleanup/cache.properties: -------------------------------------------------------------------------------- 1 | #Sat Dec 08 10:25:03 IST 2018 2 | gradle.version=4.8 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/CountryElectionSystem/.idea/.name: -------------------------------------------------------------------------------- 1 | demo -------------------------------------------------------------------------------- /Low_level_Design_Problems/CountryElectionSystem/ProblemStatementt.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/CountryElectionSystem/ProblemStatementt.pdf -------------------------------------------------------------------------------- /Low_level_Design_Problems/CountryElectionSystem/README.md: -------------------------------------------------------------------------------- 1 | # CountryElectionSystem 2 | Flipkart Interview Question 3 | 4 | Check the ProblemStatement.pdf for more info 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/CountryElectionSystem/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'demo' 2 | 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Coupon/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Coupon/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Coupon/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Coupon/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Coupon/src/io/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Coupon/src/io/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Coupon/src/io/abhi/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Coupon/src/io/abhi/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Coupon/src/io/abhi/cartdesign/Cateogry.java: -------------------------------------------------------------------------------- 1 | package io.abhi.cartdesign; 2 | 3 | public enum Cateogry { 4 | JEANS, TSHIRT, SHORTS, WINTER; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/DesignDataStructures/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/DesignDataStructures/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/DistributedCache/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/DistributedCache/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/FacebookDesign/fb db design.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/FacebookDesign/fb db design.jpg -------------------------------------------------------------------------------- /Low_level_Design_Problems/FlightTrackingSystem/Destination.java: -------------------------------------------------------------------------------- 1 | package FlightTrackingSystem; 2 | 3 | public class Destination extends Location { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/FlightTrackingSystem/Location.java: -------------------------------------------------------------------------------- 1 | package FlightTrackingSystem; 2 | 3 | import java.util.TimeZone; 4 | 5 | public abstract class Location { 6 | String city; 7 | TimeZone timeZone; 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/FlightTrackingSystem/SearchCriteria.java: -------------------------------------------------------------------------------- 1 | package FlightTrackingSystem; 2 | 3 | public enum SearchCriteria { 4 | DEPARTURE_TIME, 5 | ARRIVAL_TIME, 6 | SOURCE, 7 | DESTINATION; 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/FlightTrackingSystem/Source.java: -------------------------------------------------------------------------------- 1 | package FlightTrackingSystem; 2 | 3 | public class Source extends Location { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/FlightTrackingSystem/Time.java: -------------------------------------------------------------------------------- 1 | package FlightTrackingSystem; 2 | 3 | import java.time.Instant; 4 | 5 | public class Time extends Location{ 6 | Instant time; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/GenericProgramming/.idea/description.html: -------------------------------------------------------------------------------- 1 | Simple Java application that includes a class with main() method -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/Amenity.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public enum Amenity { 4 | FOOD, 5 | DRINK, 6 | ROOM_CLEANING; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/Channel.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public enum Channel { 4 | ONLINE, 5 | OFFLINE; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/CheckoutService.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public class CheckoutService { 4 | PaymentService paymentService; 5 | OrderService orderService; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/Customer.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public class Customer extends User { 4 | public Customer() { 5 | channel = Channel.ONLINE; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/Employee.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public abstract class Employee extends User{ 4 | String employeeId; 5 | Role role; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/Hotel Booking System Design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/HotelManagmentSystem/Hotel Booking System Design.png -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/HouseKeepingStaff.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public class HouseKeepingStaff extends Employee{ 4 | Role role = Role.REGULAR; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/InvoiceService.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public class InvoiceService { 4 | 5 | 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/Location.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public class Location { 4 | String city; 5 | String zipCode; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/NotificationChannel.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public enum NotificationChannel { 4 | SMS, EMAIL, MAIL; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/NotificationService.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public interface NotificationService { 4 | public boolean triggerNotification(Notification notification); 5 | 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/OrderService.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public class OrderService { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/PriceBudget.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public class PriceBudget { 4 | int lowerLimit; 5 | int upperLimit; 6 | int variation; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/Receptionist.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public class Receptionist extends Employee{ 4 | Role role = Role.ADMIN; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/Role.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public enum Role { 4 | ADMIN, 5 | REGULAR; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/RoomFair.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | import java.util.List; 4 | 5 | public class RoomFair { 6 | Double baseFair; 7 | // etc 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/RoomType.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public enum RoomType { 4 | DELUXE, 5 | SUITE; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/SMSNotification.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public class SMSNotification extends Notification { 4 | NotificationChannel notificationChannel = NotificationChannel.SMS; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/HotelManagmentSystem/UserStatus.java: -------------------------------------------------------------------------------- 1 | package HotelManagmentSystem; 2 | 3 | public enum UserStatus { 4 | BLACK_LISTED, 5 | UNKNOWN, 6 | NEW_USER, 7 | EXISTING_USER; 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LLD-Practice/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/BookMyShow/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/BookMyShow/BookMyShow.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/BookMyShow/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LLD-Practice/BookMyShow/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/BookMyShow/src/main/java/Driver.java: -------------------------------------------------------------------------------- 1 | public class Driver { 2 | } 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/BookMyShow/src/main/java/model/BookingStatus.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public enum BookingStatus { 4 | NOT_BOOKED, 5 | INPROGRESS, 6 | COMPLETED, 7 | CANCELLED 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/BookMyShow/src/main/java/model/Movie.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class Movie { 7 | Long id; 8 | String name; 9 | } 10 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/BookMyShow/src/main/java/model/Screen.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.List; 6 | 7 | @Data 8 | public class Screen { 9 | Long id; 10 | } 11 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/BookMyShow/src/main/java/model/Seat.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class Seat { 7 | String seatNo; 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/BookMyShow/src/main/java/model/User.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | import lombok.Data; 4 | 5 | @Data 6 | public class User { 7 | Long id; 8 | String name; 9 | } 10 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/DecoratorPattern/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/DecoratorPattern/DecoratorPattern.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/DecoratorPattern/src/main/java/IBaseRoom.java: -------------------------------------------------------------------------------- 1 | public interface IBaseRoom { 2 | public int getCost(); 3 | } 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Elevator/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LLD-Practice/Elevator/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Elevator/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Elevator/Elevator.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Elevator/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LLD-Practice/Elevator/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Elevator/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LLD-Practice/Elevator/src/main/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Elevator/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LLD-Practice/Elevator/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Elevator/src/main/java/config/Config.java: -------------------------------------------------------------------------------- 1 | package config; 2 | 3 | public class Config { 4 | public static final Integer NUMBER_OF_FLOOR=5; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Elevator/src/main/java/model/Direction.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public enum Direction { 4 | UP, 5 | DOWN, 6 | IDLE, 7 | STOP 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Elevator/src/main/java/model/SwitchDirection.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public enum SwitchDirection { 4 | UP, 5 | DOWN 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/FBFeed/FBFeed.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/FlipkartMachineCoding/FlipkartMachineCoding.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/FlipkartMachineCoding/src/main/java/model/Status.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public enum Status { 4 | ONLINE, 5 | OFFLINE 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Library Management System/.vs/VSWorkspaceState.json: -------------------------------------------------------------------------------- 1 | { 2 | "ExpandedNodes": [ 3 | "" 4 | ], 5 | "PreviewInSolutionExplorer": false 6 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Library Management System/Account.java: -------------------------------------------------------------------------------- 1 | class Account{ 2 | String id; 3 | String password; 4 | AccountStatus accountStatus; 5 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Library Management System/Address.java: -------------------------------------------------------------------------------- 1 | class Address{ 2 | Integer zipCode; 3 | String streetName; 4 | String line1; 5 | Sting line2; 6 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Library Management System/Author.java: -------------------------------------------------------------------------------- 1 | class Author extends Person{ 2 | List publisedBooks; 3 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Library Management System/Book.java: -------------------------------------------------------------------------------- 1 | class Book{ 2 | String title; 3 | List authors; 4 | Date publisedOn; 5 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Library Management System/BookItem.java: -------------------------------------------------------------------------------- 1 | class BookItem extends Book{ 2 | Long UUID; 3 | Rack rack; 4 | BookGenre bookgenre; 5 | Double price; 6 | BookStatus status; 7 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Library Management System/Library.java: -------------------------------------------------------------------------------- 1 | class Library{ 2 | String name; 3 | List books; 4 | Address address; 5 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Library Management System/Member.java: -------------------------------------------------------------------------------- 1 | class Member extends SystemUser{ 2 | int totCheckoutBooks; 3 | Search searchObj; 4 | BookIssueService bookIssueService; 5 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Library Management System/Person.java: -------------------------------------------------------------------------------- 1 | class Person{ 2 | String firstName; 3 | String lastName; 4 | Address address; 5 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Library Management System/Rack.java: -------------------------------------------------------------------------------- 1 | class Rack{ 2 | Integer number; 3 | String locationIdentifier; 4 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Library Management System/SystemUser.java: -------------------------------------------------------------------------------- 1 | class SystemUser extends Person{ 2 | String email; 3 | Account account; 4 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Parking Lot Design/Requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LLD-Practice/Parking Lot Design/Requirements.txt -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/README.md: -------------------------------------------------------------------------------- 1 | # LLD-Practice 2 | 3 | Structuring various features and requirement based on Object-oriented programming 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Splitwise-Practice/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LLD-Practice/Splitwise-Practice/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Splitwise-Practice/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Splitwise-Practice/Practice.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Splitwise-Practice/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LLD-Practice/Splitwise-Practice/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Splitwise-Practice/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LLD-Practice/Splitwise-Practice/src/main/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Splitwise-Practice/src/main/java/Driver.java: -------------------------------------------------------------------------------- 1 | public class Driver { 2 | public static void main(String[] args) { 3 | System.out.println("Hello!"); 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Splitwise/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Splitwise/src/main/java/model/ExpenseType.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public enum ExpenseType { 4 | EXACT, 5 | EQUAL, 6 | PERCENT 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/Splitwise/target/classes/Driver.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LLD-Practice/Splitwise/target/classes/Driver.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/TrueCaller1/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/TrueCaller1/TrueCaller1.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/TrueCaller1/src/main/java/model/common/SocialProfileType.java: -------------------------------------------------------------------------------- 1 | package model.common; 2 | 3 | public enum SocialProfileType { 4 | FACEBOOK, 5 | ORKUT, 6 | YOUTUBE, 7 | TWITTER 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LLD-Practice/TrueCaller1/src/main/java/model/common/Tag.java: -------------------------------------------------------------------------------- 1 | package model.common; 2 | 3 | public enum Tag { 4 | EDUCATION, 5 | SERVICES, 6 | LEGAL, 7 | BEAUTY_PERSONAL_CARE 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Array/GFG.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Array/GFG.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Array/ThreeSum.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Array/ThreeSum.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Array/awardCaps.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Array/awardCaps.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/BST/BurnNode.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/BST/BurnNode.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/BST/minSum$Node.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/BST/minSum$Node.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/BST/minSum.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/BST/minSum.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/BST/pathSum3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/BST/pathSum3.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/LinkedList/Node.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/LinkedList/Node.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/LinkedList/test.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/LinkedList/test.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/META-INF/G4G.kotlin_module: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/MworksTest/max.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/MworksTest/max.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Queue/LRUCache.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Queue/LRUCache.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Stack/sortStack.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Stack/sortStack.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/String/FindNull.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/String/FindNull.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/String/urlify.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/String/urlify.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Altimetrik.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Altimetrik.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Bicycle.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Bicycle.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Solution.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Solution.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Test.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Test.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Test2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Test2.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Test3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Test3.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Test4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/Test4.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/TestParent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/Test/TestParent.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/dfs/findMinLen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/dfs/findMinLen.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/dp/decodeWays.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/dp/decodeWays.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/dp/editDistance.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/dp/editDistance.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/dp/noOfPaths.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/dp/noOfPaths.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/dp/wordBreak.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/dp/wordBreak.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/one/SumNNum.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/one/SumNNum.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/one/revseGroups.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/one/revseGroups.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/one/sum.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/one/sum.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/one/wave.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/out/production/G4G/one/wave.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/Array/rotatematrix.java: -------------------------------------------------------------------------------- 1 | package Array; 2 | 3 | public class rotatematrix { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/Array/sortModulous.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/src/Array/sortModulous.java -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/DesignDataStructures/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/src/DesignDataStructures/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/String/maxELementbyInserting5.java: -------------------------------------------------------------------------------- 1 | package String; 2 | 3 | public class maxELementbyInserting5 { 4 | 5 | 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/JukeBox/Gender.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.JukeBox; 2 | 3 | public enum Gender { 4 | Male,Female; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/LibraryManagementSystem/Author.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LibraryManagementSystem; 2 | 3 | public class Author { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/LogisticsDesign/OrderPriority.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LogisticsDesign; 2 | 3 | public enum OrderPriority { 4 | low,medium,high; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/LogisticsDesign/OrderStatus.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LogisticsDesign; 2 | 3 | public enum OrderStatus { 4 | DELIVERED, 5 | PROCESSING, 6 | CANCELLED; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/LogisticsDesign/PaymentStatus.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LogisticsDesign; 2 | 3 | public enum PaymentStatus { 4 | PAID, 5 | UNPAID; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/LogisticsDesign/VehicleStatus.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LogisticsDesign; 2 | 3 | public enum VehicleStatus { 4 | FREE,BUSY,NOT_WORKING; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/ParkingLot/VehicleSize.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot; 2 | 3 | public enum VehicleSize{ 4 | Motorcycle, CarSize, 5 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/ParkingLot2/AccountStatus.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public enum AccountStatus { 4 | Active,Banned,NotActive,Suspended; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/ParkingLot2/Car.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class Car extends Vehicle{ 4 | public Car() { 5 | super(VehicleType.Car); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/ParkingLot2/EntryPanel.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class EntryPanel { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/ParkingLot2/ExitPanel.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class ExitPanel { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/ParkingLot2/ParkingFullException.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class ParkingFullException extends Exception { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/ParkingLot2/ParkingTicketStatus.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public enum ParkingTicketStatus { 4 | Active,Lost,Paid; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/ParkingLot2/SpotType.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public enum SpotType { 4 | MotorBike,Compact,Large,Electric,Handicapped; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/ParkingLot2/Truck.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class Truck extends Vehicle{ 4 | public Truck() { 5 | super(VehicleType.Truck); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/ParkingLot2/VehicleType.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public enum VehicleType { 4 | Car,Truck,MotorBike,Electric; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/SnakeGame/CellType.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.SnakeGame; 2 | 3 | public enum CellType { 4 | EMPTY, 5 | FOOD, 6 | SNAKE_NODE; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/SnakeGame2/CellType.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.SnakeGame2; 2 | 3 | public enum CellType { 4 | Food,EMPTY,SnakeNode; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/SnakeGame2/FactorySnakePattern.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.SnakeGame2; 2 | 3 | public class FactorySnakePattern { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/SnakeGame2/FoodInterface.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.SnakeGame2; 2 | 3 | public interface FoodInterface { 4 | Cell generateFood(int ROW, int COL); 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/SystemDesign/VendingMachine/PaymentMethod.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.VendingMachine; 2 | 3 | public enum PaymentMethod { 4 | Cash,Card; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/Test/InterfaceTesting/Itest.java: -------------------------------------------------------------------------------- 1 | package Test.InterfaceTesting; 2 | 3 | interface Itest { 4 | int value = 10; 5 | void print(); 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/G4G/src/dp/editDistance.java: -------------------------------------------------------------------------------- 1 | package dp; 2 | 3 | public class editDistance { 4 | String word=""; 5 | String[] a = new String[2]; 6 | 7 | 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Leetcode/README.md: -------------------------------------------------------------------------------- 1 | # Leetcode 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Low-Level-Design-1/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Low-Level-Design-1/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Low-Level-Design-1/GenericProgramming/.idea/description.html: -------------------------------------------------------------------------------- 1 | Simple Java application that includes a class with main() method -------------------------------------------------------------------------------- /Low_level_Design_Problems/Low-Level-Design-1/README.md: -------------------------------------------------------------------------------- 1 | # Low-Level-Design 2 | This project contains multiple LLD codes for system design interviews. 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Low-Level-Design-1/designMeetingScheduler/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Low-Level-Design-1/designMeetingScheduler/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Low-Level-Design-1/designpubsub/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Low-Level-Design-1/designpubsub/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Low-Level-Design-1/multilevelcache/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Low-Level-Design-1/multilevelcache/multilevelcache.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Low-Level-Design-1/multilevelparkinglot/multilevelparkinglot.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Low-Level-Design-1/parkinglot_services/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Low-Level-Design-1/parkinglot_services/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevel-design-2/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevel-design-2/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevel-design-2/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevel-design-2/src/main/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevel-design-2/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/designpatterns/decorator/Room.java: -------------------------------------------------------------------------------- 1 | package com.system.design.designpatterns.decorator; 2 | 3 | public interface Room { 4 | double getCost(); 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/amazon/CreditCard.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.amazon; 2 | 3 | public class CreditCard { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/amazon/ElectronicBankTransfer.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.amazon; 2 | 3 | public class ElectronicBankTransfer { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/amazon/Items.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.amazon; 2 | 3 | public class Items { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/amazon/Payment.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.amazon; 2 | 3 | public class Payment { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/amazon/ShipmentStatus.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.amazon; 2 | 3 | public enum ShipmentStatus { 4 | PENDING, SHIPPED, DELIVERED, ON_HOLD, 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/atm/CashDeposit.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.atm; 2 | 3 | public class CashDeposit extends Deposit { 4 | private double cashDepositLimit; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/atm/Keypad.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.atm; 2 | 3 | public class Keypad { 4 | public String getInput(){ return null;} 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/atm/SavingAccount.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.atm; 2 | 3 | public class SavingAccount extends Account { 4 | private double withdrawLimit; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/bookmyshow/Genre.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.bookmyshow; 2 | 3 | public enum Genre { 4 | ROMANTIC, 5 | SCIFI, 6 | HORROR 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/bookmyshow/SeatType.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.bookmyshow; 2 | 3 | public enum SeatType { 4 | GOLD, 5 | STANDARD 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/chessv1/Account.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.chessv1; 2 | 3 | public class Account { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/parkinglot/CustomerInfoPanel.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.parkinglot; 2 | 3 | public class CustomerInfoPanel { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/parkinglot/CustomerInfoPortal.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.parkinglot; 2 | 3 | public class CustomerInfoPortal { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/parkinglot/EntrancePanel.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.parkinglot; 2 | 3 | public class EntrancePanel { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/parkinglot/ExitPanel.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.parkinglot; 2 | 3 | public class ExitPanel { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/parkinglot/Location.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.parkinglot; 2 | 3 | public class Location { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/parkinglot/ParkingFullException.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.parkinglot; 2 | 3 | public class ParkingFullException extends RuntimeException { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/parkinglot/ParkingRate.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.parkinglot; 2 | 3 | public class ParkingRate { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/parkinglot/ParkingTicketStatus.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.parkinglot; 2 | 3 | public enum ParkingTicketStatus { 4 | ACTIVE, PAID, LOST 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/java/com/system/design/oops/parkinglot/VehicleType.java: -------------------------------------------------------------------------------- 1 | package com.system.design.oops.parkinglot; 2 | 3 | public enum VehicleType { 4 | CAR, TRUCK, ELECTRIC, VAN, MOTORBIKE 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevel-design-2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevelCacheDesign/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevelCacheDesign/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/lld-cache.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/main/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/main/java/Main.java: -------------------------------------------------------------------------------- 1 | public class Main { 2 | 3 | public static void main(String args[]){ 4 | 5 | 6 | } 7 | 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/main/java/cache/exceptions/InvalidElementException.java: -------------------------------------------------------------------------------- 1 | package cache.exceptions; 2 | 3 | public class InvalidElementException extends RuntimeException{ 4 | 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/test/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/test/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/test/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/LowLevelCacheDesign/lld-cache/src/test/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Machine_coding_FLIPKART/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/DriverAndRiderApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Machine_coding_FLIPKART/DriverAndRiderApplication.zip -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/ErrorFinderApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Machine_coding_FLIPKART/ErrorFinderApplication.zip -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/ErrorFinderApplication/.idea/.name: -------------------------------------------------------------------------------- 1 | Topological_Machine_coding_project -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/ErrorFinderApplication/.settings/org.springframework.ide.eclipse.prefs: -------------------------------------------------------------------------------- 1 | boot.validation.initialized=true 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/Order-Booking-System.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Machine_coding_FLIPKART/Order-Booking-System.zip -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/Order-Booking-System/.idea/.name: -------------------------------------------------------------------------------- 1 | SimpleOrderBookingSystem -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/TextPadApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Machine_coding_FLIPKART/TextPadApplication.zip -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/TextPadApplication/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Machine_coding_FLIPKART/TextPadApplication/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/TextPadApplication/src/module-info.java: -------------------------------------------------------------------------------- 1 | module TextPadApplication { 2 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/gif/space.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Machine_coding_FLIPKART/gif/space.gif -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/pandemictracker.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Machine_coding_FLIPKART/pandemictracker.zip -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/pendamictracker/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Machine_coding_FLIPKART/pendamictracker/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Machine_coding_FLIPKART/pendamictracker/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Machine_coding_FLIPKART/pendamictracker/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Multi-Level-Cache/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Multi-Level-Cache/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/Multi-Level-Cache/classes/com/mlc/models/Cache.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Multi-Level-Cache/classes/com/mlc/models/Cache.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Multi-Level-Cache/classes/com/mlc/view/MainView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Multi-Level-Cache/classes/com/mlc/view/MainView.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/Multi-Level-Cache/classes/manifest.txt: -------------------------------------------------------------------------------- 1 | Main-Class: com.mlc.view.MainView 2 | 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Multi-Level-Cache/classes/mlc.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/Multi-Level-Cache/classes/mlc.jar -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/ParkingLot1/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/domain/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/ParkingLot1/domain/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/domain/Parking/Address.java: -------------------------------------------------------------------------------- 1 | package ParkingLot.domain.Parking; 2 | 3 | public class Address { 4 | String streetName; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/domain/Parking/ParkingSize.java: -------------------------------------------------------------------------------- 1 | package ParkingLot.domain.Parking; 2 | 3 | public enum ParkingSize { 4 | SMALL, 5 | MEDIUM, 6 | LARGE; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/domain/Parking/ParkingStatus.java: -------------------------------------------------------------------------------- 1 | package ParkingLot.domain.Parking; 2 | 3 | public enum ParkingStatus { 4 | OCCUPIED, 5 | FREE; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/domain/Parking/ParkingType.java: -------------------------------------------------------------------------------- 1 | package ParkingLot.domain.Parking; 2 | 3 | public enum ParkingType { 4 | ELECTRIC; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/domain/User/System.java: -------------------------------------------------------------------------------- 1 | package ParkingLot.domain.User; 2 | 3 | public class System extends BaseUser { 4 | 5 | public System(String name) { 6 | super(name); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/domain/User/User.java: -------------------------------------------------------------------------------- 1 | package ParkingLot.domain.User; 2 | 3 | public class User extends BaseUser { 4 | 5 | 6 | 7 | public User(String name) { 8 | super(name); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/domain/Vehicle/VehicleType.java: -------------------------------------------------------------------------------- 1 | package ParkingLot.domain.Vehicle; 2 | 3 | public enum VehicleType { 4 | DISEL, 5 | PETROL, 6 | ELETRIC; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/services/DisplayService.java: -------------------------------------------------------------------------------- 1 | package ParkingLot.services; 2 | 3 | public class DisplayService { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/services/PaymentService.java: -------------------------------------------------------------------------------- 1 | package ParkingLot.services; 2 | 3 | public class PaymentService { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/ParkingLot1/services/RequestType.java: -------------------------------------------------------------------------------- 1 | package ParkingLot.services; 2 | 3 | public enum RequestType { 4 | ENTRY, 5 | EXIT; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/RuleMatcher/src/Category.java: -------------------------------------------------------------------------------- 1 | public enum Category { 2 | ELECTRONICS, 3 | TOYS, 4 | BOOKS 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/RuleMatcher/src/Rule.java: -------------------------------------------------------------------------------- 1 | public interface Rule { 2 | public boolean match(Item item); 3 | } 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Scheduler/Job.java: -------------------------------------------------------------------------------- 1 | package Scheduler; 2 | 3 | import java.time.Instant; 4 | 5 | public class Job { 6 | Instant startTime; 7 | Instant endTime; 8 | JobStatus jobStatus; 9 | } 10 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Scheduler/JobStatus.java: -------------------------------------------------------------------------------- 1 | package Scheduler; 2 | 3 | public enum JobStatus { 4 | Pending, 5 | Running, 6 | Completed, 7 | Failed 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/Scheduler/ScheduleDataService.java: -------------------------------------------------------------------------------- 1 | package Scheduler; 2 | 3 | //TBD 4 | public class ScheduleDataService { 5 | 6 | 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SnakeLadderGame/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SnakeLadderGame/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/SnakeLadderGame/README.md: -------------------------------------------------------------------------------- 1 | # SnakeLadderGame -------------------------------------------------------------------------------- /Low_level_Design_Problems/SnakesAndLadder/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SnakesAndLadder/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/SnakesAndLadder/SNLGamePlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SnakesAndLadder/SNLGamePlay.png -------------------------------------------------------------------------------- /Low_level_Design_Problems/SnakesAndLadder/classes/com/snl/models/Player.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SnakesAndLadder/classes/com/snl/models/Player.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/SnakesAndLadder/classes/com/snl/services/Game.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SnakesAndLadder/classes/com/snl/services/Game.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/SnakesAndLadder/classes/com/snl/view/MainView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SnakesAndLadder/classes/com/snl/view/MainView.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/SnakesAndLadder/classes/manifest.txt: -------------------------------------------------------------------------------- 1 | Main-Class: com.snl.view.MainView 2 | 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SnakesAndLadder/classes/snl.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SnakesAndLadder/classes/snl.jar -------------------------------------------------------------------------------- /Low_level_Design_Problems/SwiggyDeliveryBoy/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SwiggyDeliveryBoy/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/SwiggyDeliveryBoy/README.md: -------------------------------------------------------------------------------- 1 | # SwiggyDeliveryBoy 2 | Swiggy Interview question on providing guidelines to delivery boy based on input latitutdes and longitudes. 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SwiggyDeliveryBoy/directions.txt: -------------------------------------------------------------------------------- 1 | 13,77 2 | 26,80 3 | 28,77 4 | 26,75 -------------------------------------------------------------------------------- /Low_level_Design_Problems/SwiggyInterview/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SwiggyInterview/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/System-design/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/System-design/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/System-design/Factory Design Pattern/Shape.java: -------------------------------------------------------------------------------- 1 | public interface Shape { 2 | void draw(); 3 | } 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/System-design/Factory Design Pattern/factory.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/System-design/Factory Design Pattern/factory.PNG -------------------------------------------------------------------------------- /Low_level_Design_Problems/System-design/online_book_reader_system/src/module-info.java: -------------------------------------------------------------------------------- 1 | module sysdesign { 2 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SystemDesign/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ElevatorDesign2/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SystemDesign/ElevatorDesign2/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ElevatorDesign2/ecs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SystemDesign/ElevatorDesign2/ecs/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/JukeBox/Gender.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.JukeBox; 2 | 3 | public enum Gender { 4 | Male,Female; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/LibraryManagementSystem/Author.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LibraryManagementSystem; 2 | 3 | public class Author { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/LibraryManagementSystem/BookStatus.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LibraryManagementSystem; 2 | 3 | public enum BookStatus { 4 | AVAILABLE, 5 | RESERVED, 6 | LOANED, 7 | LOST 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/LibraryManagementSystem/Rack.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LibraryManagementSystem; 2 | 3 | public class Rack { 4 | private int number; 5 | private String locationIdentifier; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/LogisticsDesign/OrderPriority.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LogisticsDesign; 2 | 3 | public enum OrderPriority { 4 | low,medium,high; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/LogisticsDesign/OrderStatus.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LogisticsDesign; 2 | 3 | public enum OrderStatus { 4 | DELIVERED, 5 | PROCESSING, 6 | CANCELLED; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/LogisticsDesign/PaymentMode.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LogisticsDesign; 2 | 3 | public enum PaymentMode { 4 | 5 | NET_BANKING, 6 | CREDIT_CARD, 7 | DEBIT_CARD; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/LogisticsDesign/PaymentStatus.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LogisticsDesign; 2 | 3 | public enum PaymentStatus { 4 | PAID, 5 | UNPAID; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/LogisticsDesign/VehicleStatus.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.LogisticsDesign; 2 | 3 | public enum VehicleStatus { 4 | FREE,BUSY,NOT_WORKING; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/LowLevelCacheDesign/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SystemDesign/LowLevelCacheDesign/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/LowLevelCacheDesign/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SystemDesign/LowLevelCacheDesign/main/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/LowLevelCacheDesign/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/SystemDesign/LowLevelCacheDesign/main/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot/VehicleSize.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot; 2 | 3 | public enum VehicleSize{ 4 | Motorcycle, CarSize, 5 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/AccountStatus.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public enum AccountStatus { 4 | Active,Banned,NotActive,Suspended; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/Car.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class Car extends Vehicle{ 4 | public Car() { 5 | super(VehicleType.Car); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/Electric.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class Electric extends Vehicle{ 4 | public Electric() { 5 | super(VehicleType.Electric); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/EntryPanel.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class EntryPanel { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/ExitPanel.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class ExitPanel { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/MotorBike.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class MotorBike extends Vehicle{ 4 | public MotorBike() { 5 | super(VehicleType.MotorBike); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/ParkingAttendant.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class ParkingAttendant extends Account { 4 | public void processTicket(Ticket ticket){ 5 | 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/ParkingFullException.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class ParkingFullException extends Exception { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/ParkingTicketStatus.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public enum ParkingTicketStatus { 4 | Active,Lost,Paid; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/SpotType.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public enum SpotType { 4 | MotorBike,Compact,Large,Electric,Handicapped; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/Truck.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public class Truck extends Vehicle{ 4 | public Truck() { 5 | super(VehicleType.Truck); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/ParkingLot2/VehicleType.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.ParkingLot2; 2 | 3 | public enum VehicleType { 4 | Car,Truck,MotorBike,Electric; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/SnakeGame/CellType.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.SnakeGame; 2 | 3 | public enum CellType { 4 | EMPTY, 5 | FOOD, 6 | SNAKE_NODE; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/SnakeGame2/CellType.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.SnakeGame2; 2 | 3 | public enum CellType { 4 | Food,EMPTY,SnakeNode; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/SnakeGame2/FactorySnakePattern.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.SnakeGame2; 2 | 3 | public class FactorySnakePattern { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/SnakeGame2/FoodInterface.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.SnakeGame2; 2 | 3 | public interface FoodInterface { 4 | Cell generateFood(int ROW, int COL); 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/SystemDesign/VendingMachine/PaymentMethod.java: -------------------------------------------------------------------------------- 1 | package SystemDesign.VendingMachine; 2 | 3 | public enum PaymentMethod { 4 | Cash,Card; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/T9Dictionary/data.txt: -------------------------------------------------------------------------------- 1 | It allows words to be entered by a single keypress for each letter -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/AccountStatus.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | public enum AccountStatus { 4 | ACTIVE, INACTIVE, BLOCKED 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/Guest.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | public class Guest extends Customer{ 4 | public Account createAccount() { 5 | return null; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/Item.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | public class Item { 4 | Product product; 5 | int quantity; 6 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/Member.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | public class Member extends Customer{ 4 | int id; 5 | Account account; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/Message.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | import java.util.Date; 4 | 5 | public class Message { 6 | String detail; 7 | Date createdAt; 8 | Buyer buyer; 9 | } 10 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/OrderLog.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | import java.util.Date; 4 | 5 | public class OrderLog { 6 | String detail; 7 | Date createdAt; 8 | OrderStatus status; 9 | } 10 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/OrderStatus.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | public enum OrderStatus { 4 | PLACED, DISPATCHED, SHIPPED, DELIVERED, CANCELLED 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/PaymentStatus.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | public enum PaymentStatus { 4 | SUCCESS, ERROR, CANCELLED, REFUNDED 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/PaymentType.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | public enum PaymentType { 4 | CREDIT_CARD, DEBIT_CARD, NET_BANKING, UPI 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/ProductCategory.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | public enum ProductCategory { 4 | ELECTRONIC, CLOTH, SPORT, BOOK, GROCERY, FURNITURE 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/ProductReview.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | public class ProductReview { 4 | int id; 5 | String title, description; 6 | int rating; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/amazon_new/Seller.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | public class Seller extends Member{ 4 | public void addProduct(Product product) { 5 | 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/bookmyshow/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/bookmyshow/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/bookmyshow/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/bookmyshow/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Low_level_Design_Problems/bookmyshow/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'bookmyshow' 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/bookmyshow/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/bookmyshow/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/bookmyshow/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/bookmyshow/src/main/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/bookmyshow/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/bookmyshow/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/bookmyshow/src/main/java/lowleveldesign/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/bookmyshow/src/main/java/lowleveldesign/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/bookmyshow/src/test/java/lowleveldesign/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/bookmyshow/src/test/java/lowleveldesign/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cache-low-level-design/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/cache-low-level-design/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cache-low-level-design/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/cache-low-level-design/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cache-low-level-design/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/cache-low-level-design/src/main/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cache-low-level-design/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/cache-low-level-design/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cache-low-level-design/src/main/java/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/cache-low-level-design/src/main/java/com/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cache-low-level-design/src/main/java/com/company/Main.java: -------------------------------------------------------------------------------- 1 | package com.company; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args) { 6 | // write your code here 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame/Account.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class Account { 4 | String username; 5 | String password; 6 | String email; 7 | String phone; 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame/Cell.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class Cell { 4 | CellPosition cellPos; 5 | Piece piece; 6 | Color color; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame/CellPosition.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class CellPosition { 4 | int x, y; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame/Color.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public enum Color { 4 | BLACK, WHITE 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame/GameStatus.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public enum GameStatus { 4 | PROGRESS, END 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame/Move.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class Move { 4 | CellPosition from, to; 5 | Piece piece; 6 | Piece killedPiece; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame/Player.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class Player { 4 | Account account; 5 | Color color; 6 | Time timeLeft; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame/Time.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class Time { 4 | int minute, second; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame_new/Account.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class Account { 4 | String username; 5 | String password; 6 | String email; 7 | String phone; 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame_new/Cell.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class Cell { 4 | CellPosition cellPos; 5 | Piece piece; 6 | Color color; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame_new/CellPosition.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class CellPosition { 4 | int x, y; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame_new/Color.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public enum Color { 4 | BLACK, WHITE 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame_new/GameStatus.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public enum GameStatus { 4 | PROGRESS, END 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame_new/Move.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class Move { 4 | CellPosition from, to; 5 | Piece piece; 6 | Piece killedPiece; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame_new/Player.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class Player { 4 | Account account; 5 | Color color; 6 | Time timeLeft; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/chessGame_new/Time.java: -------------------------------------------------------------------------------- 1 | package chessGame; 2 | 3 | public class Time { 4 | int minute, second; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/cricket-scorecard/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/cricket-scorecard/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cricket-scorecard/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/cricket-scorecard/cricket-scorecard.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/cricket-scorecard/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/cricket-scorecard/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cricket-scorecard/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/cricket-scorecard/src/main/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cricket-scorecard/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/cricket-scorecard/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cricket-scorecard/src/main/java/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/cricket-scorecard/src/main/java/com/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cricket-scorecard/src/main/java/com/pc/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/cricket-scorecard/src/main/java/com/pc/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/cricket-scorecard/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst: -------------------------------------------------------------------------------- 1 | /Users/paraschawla/Desktop/Code/cricket-scorecard/src/main/java/com/pc/cricscore/model/Player.java 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/designchess/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/designchess/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/facebook/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/facebook/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/facebook/gradle/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/facebook/gradle/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/facebook/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/facebook/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Low_level_Design_Problems/facebook/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'facebook' 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/facebook/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/facebook/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/facebook/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/facebook/src/main/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/facebook/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/facebook/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/facebook/src/main/java/lowleveldesign/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/facebook/src/main/java/lowleveldesign/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/facebook/src/main/resources/dbmigrations/cassandra/000005_entity_names_up.cql: -------------------------------------------------------------------------------- 1 | CREATE TABLE IF NOT EXISTS entity_names (person_id text, PRIMARY KEY (person_id)); -------------------------------------------------------------------------------- /Low_level_Design_Problems/flipkart-interview-parser/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/flipkart-interview-parser/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/flipkart-interview-parser/src/main/resources/input.csv: -------------------------------------------------------------------------------- 1 | id,name,age,salary 2 | 1,john,24,2000000 3 | 2,jack,22,1400000 4 | 3,mary,23,1400000 5 | 4,tom,27,2200000 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/jira-fk/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/jira-fk/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/jira-fk/src/main/java/com/rjnitt/boilerplate/db_script/truncate: -------------------------------------------------------------------------------- 1 | truncate table employee; 2 | truncate table address; -------------------------------------------------------------------------------- /Low_level_Design_Problems/jira-fk/src/main/java/com/rjnitt/boilerplate/util/CommonConstant.java: -------------------------------------------------------------------------------- 1 | package com.rjnitt.boilerplate.util; 2 | 3 | public interface CommonConstant { 4 | 5 | static Long UserId = 1L; 6 | 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/lld-food-delivery-zomato-swiggy/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/lld-food-delivery-zomato-swiggy/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/lld-food-delivery-zomato-swiggy/src/main/java/com/mayank/fooddelivery/model/OrderCommandType.java: -------------------------------------------------------------------------------- 1 | package com.mayank.fooddelivery.model; 2 | 3 | public enum OrderCommandType { 4 | PLACE, 5 | CANCEL 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/low-level-design-3/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/deck-of-cards/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/low-level-design-3/deck-of-cards/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/deck-of-cards/README.md: -------------------------------------------------------------------------------- 1 | # Deck of cards 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/deck-of-cards/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/low-level-design-3/deck-of-cards/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/deck-of-cards/src/com.deckofcards/enums/Suite.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum Suite { 4 | DIAMOND,SPADE,CLUB,HEART; 5 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/food-ordering-system/README.md: -------------------------------------------------------------------------------- 1 | # Food ordering system 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/food-ordering-system/src/com.bonvivant/constants/RestaurantsConstants.java: -------------------------------------------------------------------------------- 1 | package constants; 2 | 3 | public class RestaurantsConstants { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/food-ordering-system/src/com.bonvivant/enums/ItemStatus.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum ItemStatus { 4 | OUT_OF_STOCK,AVAILABLE; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/food-ordering-system/src/com.bonvivant/enums/MenuType.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | public enum MenuType { 3 | VEG,NONVEG,DESERT; 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/food-ordering-system/src/com.bonvivant/enums/NotificationType.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | public enum NotificationType { 3 | EMAIL,SMS,PUSH; 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/food-ordering-system/src/com.bonvivant/enums/OrderStatus.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum OrderStatus { 4 | PENDING, ACCEPTED, PREPARING, DISPATCHED, ABORTED, CANCELLED; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/food-ordering-system/src/com.bonvivant/enums/PaymentStatus.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum PaymentStatus { 4 | PENDING, SUCCESS, FAILED, CANCELLED, REFUND; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/food-ordering-system/src/com.bonvivant/enums/RestaurantStatus.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | public enum RestaurantStatus { 3 | CLOSED,OPEN; 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/mychess.com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/low-level-design-3/mychess.com/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/mychess.com/README.md: -------------------------------------------------------------------------------- 1 | # Mychess 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/mychess.com/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/low-level-design-3/mychess.com/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/mychess.com/src/com.mychess.play/constants/ChessConstants.java: -------------------------------------------------------------------------------- 1 | package constants; 2 | 3 | public class ChessConstants { 4 | public static Integer BOARD_SIZE = 8; 5 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/mychess.com/src/com.mychess.play/enums/GameStatus.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum GameStatus { 4 | CHECKMATE, DRAW, STALEMATE, ABORTED, UNDECIDED; 5 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-3/mychess.com/src/com.mychess.play/enums/PieceColor.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum PieceColor { 4 | WHITE,BLACK; 5 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-messaging-queue-pub-sub/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/low-level-design-messaging-queue-pub-sub/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design-messaging-queue-pub-sub/main/out/production/main/META-INF/main.kotlin_module: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/low-level-design/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design/expense/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/low-level-design/expense/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/low-level-design/expense/models/Expense.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/low-level-design/expense/models/Expense.class -------------------------------------------------------------------------------- /Low_level_Design_Problems/message-broker/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/message-broker/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/message-broker/README.md: -------------------------------------------------------------------------------- 1 | # message-broker 2 | A Messaging broker written for flipkart interview process 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/message-broker/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/message-broker/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/message-broker/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/message-broker/src/main/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/message-broker/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/message-broker/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/message-broker/src/main/java/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/message-broker/src/main/java/com/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/message-broker/src/main/java/com/flipkart/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/message-broker/src/main/java/com/flipkart/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/multilevelcache/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/multilevelcache/multilevelcache.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/multilevelparkinglot/multilevelparkinglot.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/multilevelparkinglot/target/maven-archiver/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven 2 | #Fri Nov 20 15:46:53 IST 2020 3 | version=1.0-SNAPSHOT 4 | groupId=com.pc.multilevelparkinglot 5 | artifactId=multilevelparkinglot 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/multilevelparkinglot/target/parkingLot.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/multilevelparkinglot/target/parkingLot.jar -------------------------------------------------------------------------------- /Low_level_Design_Problems/parking-lot-lld-oop-ood/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/parking-lot-lld-oop-ood/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/parking-lot-lld-oop-ood/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'parking-lot' 2 | 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parking-lot-lld-oop-ood/src/main/java/DisplayBoard.java: -------------------------------------------------------------------------------- 1 | class DisplayBoard { 2 | void displayMessage(String message) { 3 | if(!message.isEmpty()) 4 | System.out.println(message); 5 | } 6 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/parking-lot-lld-oop-ood/src/main/java/ParkingSpotType.java: -------------------------------------------------------------------------------- 1 | public enum ParkingSpotType { 2 | BIG, MEDIUM, SMALL; 3 | } 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parking-lot-lld-oop-ood/src/main/java/PaymemtMode.java: -------------------------------------------------------------------------------- 1 | public enum PaymemtMode { 2 | CASH, NONCASH; 3 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/parking-lot-lld-oop-ood/src/main/java/VehicleType.java: -------------------------------------------------------------------------------- 1 | public enum VehicleType { 2 | BIG, MEDIUM, SMALL; 3 | } -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkingLot_new/Account.java: -------------------------------------------------------------------------------- 1 | package parkingLot; 2 | 3 | public class Account { 4 | String username; 5 | String password; 6 | Address address; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkingLot_new/Address.java: -------------------------------------------------------------------------------- 1 | package parkingLot; 2 | 3 | public class Address { 4 | String number; 5 | String street, district, state, country; 6 | int pincode; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkingLot_new/Employee.java: -------------------------------------------------------------------------------- 1 | package parkingLot; 2 | 3 | public class Employee { 4 | int id; 5 | String name; 6 | Account account; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkingLot_new/EntryGate.java: -------------------------------------------------------------------------------- 1 | package parkingLot; 2 | 3 | public class EntryGate extends Gate{ 4 | public ParkingTicket getParkingTicket(Vehicle vehicle) { 5 | return null; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkingLot_new/Gate.java: -------------------------------------------------------------------------------- 1 | package parkingLot; 2 | 3 | public class Gate { 4 | int id; 5 | ParkingAttendent attendent; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkingLot_new/ParkingAttendent.java: -------------------------------------------------------------------------------- 1 | package parkingLot; 2 | 3 | public class ParkingAttendent extends Employee{ 4 | 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkingLot_new/ParkingSpaceType.java: -------------------------------------------------------------------------------- 1 | package parkingLot; 2 | 3 | public enum ParkingSpaceType { 4 | BIKE, CAR, TRUCK 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkingLot_new/PaymentStatus.java: -------------------------------------------------------------------------------- 1 | package parkingLot; 2 | 3 | public enum PaymentStatus { 4 | PAID, UNPAID, ACTIVE 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkingLot_new/PaymentType.java: -------------------------------------------------------------------------------- 1 | package parkingLot; 2 | 3 | public enum PaymentType { 4 | DEBIT_CARD, CREDIT_CARD, NETBANKING, UPI, CASH 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkingLot_new/Vehicle.java: -------------------------------------------------------------------------------- 1 | package parkingLot; 2 | 3 | public class Vehicle { 4 | String number; 5 | VehicleType vehType; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkingLot_new/VehicleType.java: -------------------------------------------------------------------------------- 1 | package parkingLot; 2 | 3 | public enum VehicleType { 4 | TWO_WHEELER, FOUR_WHEELER_SMALL, FOUR_WHEELER_MEDIUM, FOUR_WHEELER_LARGE 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkinglot/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/parkinglot/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkinglot/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/parkinglot/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkinglot/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'parkinglot' 2 | 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkinglot/src/main/java/com/gb/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/parkinglot/src/main/java/com/gb/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkinglot/src/main/java/com/gb/parkinglot/model/account/Person.java: -------------------------------------------------------------------------------- 1 | package com.gb.parkinglot.model.account; 2 | 3 | public class Person { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkinglot/src/main/java/com/gb/parkinglot/model/parking/PaymentStatus.java: -------------------------------------------------------------------------------- 1 | package com.gb.parkinglot.model.parking; 2 | 3 | public enum PaymentStatus { 4 | SUCCESS, 5 | FAILED 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkinglot/src/main/java/com/gb/parkinglot/model/parking/TicketStatus.java: -------------------------------------------------------------------------------- 1 | package com.gb.parkinglot.model.parking; 2 | 3 | public enum TicketStatus { 4 | ACTIVE, 5 | LOST 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/parkinglot_services/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/parkinglot_services/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/pub-sub Phonepe/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/pub-sub Phonepe/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/pub-sub Phonepe/PubSubSystem/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/pub-sub Phonepe/PubSubSystem/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/pub-sub Phonepe/PubSubSystem/.idea/description.html: -------------------------------------------------------------------------------- 1 | Simple Java application that includes a class with main() method -------------------------------------------------------------------------------- /Low_level_Design_Problems/pub-sub Phonepe/PubSubSystem/.idea/sonarlint/issuestore/1/5/15d12af143c2192c6f113fb6358e4e63231e12c6: -------------------------------------------------------------------------------- 1 | 2 | 1 squid:S1220""Move this file to a named package. -------------------------------------------------------------------------------- /Low_level_Design_Problems/pub-sub Phonepe/PubSubSystem/.idea/sonarlint/issuestore/3/3/331a4274530c902c408b29e8f35b22d13238cb0f: -------------------------------------------------------------------------------- 1 | 2 | 1 squid:S1220""Move this file to a named package. -------------------------------------------------------------------------------- /Low_level_Design_Problems/pub-sub Phonepe/PubSubSystem/.idea/sonarlint/issuestore/3/a/3ab60872f365ff6fee76b90596b6f298e0190389: -------------------------------------------------------------------------------- 1 | 2 | 1 squid:S1220""Move this file to a named package. -------------------------------------------------------------------------------- /Low_level_Design_Problems/pub-sub Phonepe/PubSubSystem/.idea/sonarlint/issuestore/4/3/43c72cf24687297679ab21aef9fea90b45847f3f: -------------------------------------------------------------------------------- 1 | 2 | 1 squid:S1220""Move this file to a named package. -------------------------------------------------------------------------------- /Low_level_Design_Problems/pub-sub Phonepe/PubSubSystem/out/production/PubSubSystem/META-INF/PubSubSystem.kotlin_module: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /Low_level_Design_Problems/pub-sub Phonepe/PubSubSystem/src/Publisher.java: -------------------------------------------------------------------------------- 1 | public interface Publisher { 2 | boolean addToMessageQueue(Message message); 3 | } 4 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/smartHome/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/smartHome/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/smartHome/README.md: -------------------------------------------------------------------------------- 1 | # smartHome 2 | Machine coding round - Flipkart 3 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/smartHome/com.flipkart.smartHome.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/smartHome/com.flipkart.smartHome.zip -------------------------------------------------------------------------------- /Low_level_Design_Problems/smartHome/com.flipkart.smartHome/src/domain/AbstractCommand.java: -------------------------------------------------------------------------------- 1 | package domain; 2 | 3 | public abstract class AbstractCommand { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/smartHome/com.flipkart.smartHome/src/domain/AbstractDevice.java: -------------------------------------------------------------------------------- 1 | package domain; 2 | 3 | public abstract class AbstractDevice { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/smartHome/com.flipkart.smartHome/src/domain/AbstractSmartHomeDevice.java: -------------------------------------------------------------------------------- 1 | package domain; 2 | 3 | public abstract class AbstractSmartHomeDevice { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/smartHome/com.flipkart.smartHome/src/domain/ActivationType.java: -------------------------------------------------------------------------------- 1 | package domain; 2 | 3 | public enum ActivationType { 4 | 5 | OK_GOOGLE, 6 | ALEXA; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/smartHome/com.flipkart.smartHome/src/domain/State.java: -------------------------------------------------------------------------------- 1 | package domain; 2 | 3 | public enum State { 4 | SPEED, 5 | BRIGHTNESS; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/splitwise/expense/ExpenseType.java: -------------------------------------------------------------------------------- 1 | package io.abhishek.machinecoding.splitwise.expense; 2 | 3 | public enum ExpenseType { 4 | EXACT, EQUAL, PERCENT; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/splitwise/model/EqualSplit.java: -------------------------------------------------------------------------------- 1 | package io.abhishek.machinecoding.splitwise.model; 2 | 3 | public class EqualSplit extends Split { 4 | 5 | public EqualSplit(User user) { 6 | super(user); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/stackoverflow/AccountStatus.java: -------------------------------------------------------------------------------- 1 | package stackoverflow; 2 | 3 | public enum AccountStatus { 4 | ACTIVE, INACTIVE, BLACKLIST 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/stackoverflow/Badge.java: -------------------------------------------------------------------------------- 1 | package stackoverflow; 2 | 3 | public class Badge { 4 | String name; 5 | String description; 6 | } 7 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/stackoverflow/Comment.java: -------------------------------------------------------------------------------- 1 | package stackoverflow; 2 | 3 | import java.util.List; 4 | 5 | public class Comment { 6 | int commendtId; 7 | int entityId; 8 | List comments; 9 | } 10 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/stackoverflow/Tag.java: -------------------------------------------------------------------------------- 1 | package stackoverflow; 2 | 3 | public class Tag { 4 | int tagId; 5 | String name; 6 | String description; 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/stackoverflow/User.java: -------------------------------------------------------------------------------- 1 | package stackoverflow; 2 | 3 | import java.util.List; 4 | 5 | public class User { 6 | int userId; 7 | List getQuestions(String search){return null;} 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/stackoverflow/VoteType.java: -------------------------------------------------------------------------------- 1 | package stackoverflow; 2 | 3 | public enum VoteType { 4 | UPVOTE, DOWNVOTE; 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/swiggy-delivery/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/swiggy-delivery/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/swiggy-delivery/src/main/java/AssignmentEvaluator.java: -------------------------------------------------------------------------------- 1 | public class AssignmentEvaluator { 2 | public static void main() { 3 | System.out.println("Hey there"); 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/swiggy-delivery/src/main/java/core/IDistanceCalculator.java: -------------------------------------------------------------------------------- 1 | package core; 2 | 3 | public interface IDistanceCalculator { 4 | Double getDistance(E1 e1, E2 e2); 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/swiggyInterview1/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/swiggyInterview1/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/swiggyInterview1/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/swiggyInterview1/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /Low_level_Design_Problems/swiggyInterview1/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/swiggyInterview1/src/main/java/com/example/swiggy/model/OrderStates.java: -------------------------------------------------------------------------------- 1 | package com.example.swiggy.model; 2 | 3 | public enum OrderStates { 4 | ORDERED, 5 | DE_ASSIGNED, 6 | COMPLETED, 7 | } 8 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/swiggyInterview1/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port = 8090 2 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/texteditor/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/texteditor/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/thegranths/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/thegranths/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/thegranths/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/thegranths/src/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/thegranths/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/thegranths/src/main/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/thegranths/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/thegranths/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/thegranths/src/main/java/DataStructures/LinkedList/Graph/TopologicalSort.java: -------------------------------------------------------------------------------- 1 | package DataStructures.LinkedList.Graph; 2 | 3 | public class TopologicalSort { 4 | } 5 | -------------------------------------------------------------------------------- /Low_level_Design_Problems/thegranths/src/main/java/SystemDesign/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Design_Problems/thegranths/src/main/java/SystemDesign/.DS_Store -------------------------------------------------------------------------------- /Low_level_Design_Problems/thegranths/src/main/java/SystemDesign/ParkingLot/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /Low_level_Problem_set_2/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Problem_set_2/.DS_Store -------------------------------------------------------------------------------- /Low_level_Problem_set_2/StockBroking/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Problem_set_2/StockBroking/.DS_Store -------------------------------------------------------------------------------- /Low_level_Problem_set_2/TaskSchedulerLLD/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Problem_set_2/TaskSchedulerLLD/.DS_Store -------------------------------------------------------------------------------- /Low_level_Problem_set_2/TaskSchedulerLLD/src/UnabletoSchedule.java: -------------------------------------------------------------------------------- 1 | public class UnabletoSchedule extends RuntimeException { 2 | public UnabletoSchedule(String message) { 3 | super(message); 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/amazon/Driver.java: -------------------------------------------------------------------------------- 1 | package amazon; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 23/04/2021 6 | */ 7 | public class Driver { 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/amazon/model/Admin.java: -------------------------------------------------------------------------------- 1 | package amazon.model; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 23/04/2021 6 | */ 7 | public class Admin extends User { 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/amazon/model/Member.java: -------------------------------------------------------------------------------- 1 | package amazon.model; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 23/04/2021 6 | */ 7 | public class Member extends User{ 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/cabBooking/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Problem_set_2/cabBooking/.DS_Store -------------------------------------------------------------------------------- /Low_level_Problem_set_2/cabBooking/Driver.java: -------------------------------------------------------------------------------- 1 | package cabBooking; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 01/05/2021 6 | */ 7 | public class Driver { 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/cabBooking2/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Problem_set_2/cabBooking2/.DS_Store -------------------------------------------------------------------------------- /Low_level_Problem_set_2/cabBooking2/Driver.java: -------------------------------------------------------------------------------- 1 | package cabBooking2; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 23/05/2021 6 | */ 7 | public class Driver { 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/cache/tesr.txt: -------------------------------------------------------------------------------- 1 | abcd -------------------------------------------------------------------------------- /Low_level_Problem_set_2/chess/Driver.java: -------------------------------------------------------------------------------- 1 | package chess; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 26/04/2021 6 | */ 7 | public class Driver { 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/chess/constants/GameStatus.java: -------------------------------------------------------------------------------- 1 | package chess.constants; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 26/04/2021 6 | */ 7 | public enum GameStatus { 8 | START,WIN,DRAW,RESIGN 9 | } 10 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/chess/constants/PieceType.java: -------------------------------------------------------------------------------- 1 | package chess.constants; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 26/04/2021 6 | */ 7 | public enum PieceType { 8 | WHITE, BLACK 9 | } 10 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/connect4 2/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Problem_set_2/connect4 2/.DS_Store -------------------------------------------------------------------------------- /Low_level_Problem_set_2/connect4 2/Driver.java: -------------------------------------------------------------------------------- 1 | package connect4; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 15/05/2021 6 | */ 7 | public class Driver { 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/connect4 2/constants/BallColor.java: -------------------------------------------------------------------------------- 1 | package connect4.constants; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 15/05/2021 6 | */ 7 | public enum BallColor { 8 | RED, 9 | YELLOW 10 | } 11 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/connect4.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Problem_set_2/connect4.zip -------------------------------------------------------------------------------- /Low_level_Problem_set_2/connect4/constants/BallColor.java: -------------------------------------------------------------------------------- 1 | package connect4.constants; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 15/05/2021 6 | */ 7 | public enum BallColor { 8 | RED, 9 | YELLOW 10 | } 11 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/kafka/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Problem_set_2/kafka/.DS_Store -------------------------------------------------------------------------------- /Low_level_Problem_set_2/kafka/Driver.java: -------------------------------------------------------------------------------- 1 | package kafka; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 31/05/2021 6 | */ 7 | public class Driver { 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/kafka/model/Message.java: -------------------------------------------------------------------------------- 1 | package kafka.model; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 31/05/2021 6 | */ 7 | public class Message { 8 | private String message; 9 | } 10 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/movieTicketBooking/Driver.java: -------------------------------------------------------------------------------- 1 | package movieTicketBooking; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 24/04/2021 6 | */ 7 | public class Driver { 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/movieTicketBooking2/controller/BookingController.java: -------------------------------------------------------------------------------- 1 | package movieTicketBooking2.controller; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 25/05/2021 6 | */ 7 | public class BookingController { 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/movieTicketBooking2/controller/MovieController.java: -------------------------------------------------------------------------------- 1 | package movieTicketBooking2.controller; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 25/05/2021 6 | */ 7 | public class MovieController { 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/movieTicketBooking2/controller/ShowController.java: -------------------------------------------------------------------------------- 1 | package movieTicketBooking2.controller; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 25/05/2021 6 | */ 7 | public class ShowController { 8 | } 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/movieTicketBooking2/readme.md: -------------------------------------------------------------------------------- 1 | * Theatre 2 | * Screens 3 | * Shows 4 | * Movies 5 | * Seat 6 | * Booking 7 | 8 | 9 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/snakeLadder/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Problem_set_2/snakeLadder/.DS_Store -------------------------------------------------------------------------------- /Low_level_Problem_set_2/snakeLadder/dao/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Low_level_Problem_set_2/snakeLadder/dao/.DS_Store -------------------------------------------------------------------------------- /Low_level_Problem_set_2/ticTacToe/constants/PieceType.java: -------------------------------------------------------------------------------- 1 | package ticTacToe.constants; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 23/04/2021 6 | */ 7 | public enum PieceType { 8 | X, 9 | O 10 | } 11 | -------------------------------------------------------------------------------- /Low_level_Problem_set_2/trello/constants/BoardType.java: -------------------------------------------------------------------------------- 1 | package trello.constants; 2 | 3 | /** 4 | * @author priyamvora 5 | * @created 20/04/2021 6 | */ 7 | public enum BoardType { 8 | PUBLIC, 9 | PRIVATE 10 | } 11 | -------------------------------------------------------------------------------- /PropertyHunt/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /PropertyHunt/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PropertyHunt/Question Image/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/Question Image/.DS_Store -------------------------------------------------------------------------------- /PropertyHunt/Question Image/Image_1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/Question Image/Image_1.jpeg -------------------------------------------------------------------------------- /PropertyHunt/Question Image/Image_2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/Question Image/Image_2.jpeg -------------------------------------------------------------------------------- /PropertyHunt/Question Image/Image_3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/Question Image/Image_3.jpeg -------------------------------------------------------------------------------- /PropertyHunt/Question Image/Image_4.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/Question Image/Image_4.jpeg -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/META-INF/ClearTripLLD.kotlin_module: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/PropertyHutApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/ClearTripLLD/PropertyHutApplication.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/UI/PropertyHutDisplay.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/ClearTripLLD/UI/PropertyHutDisplay.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/Util/SearchPropertyUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/ClearTripLLD/Util/SearchPropertyUtil.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/dao/PropertyHuntDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/ClearTripLLD/dao/PropertyHuntDao.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/enums/ListingType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/ClearTripLLD/enums/ListingType.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/enums/RoomType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/ClearTripLLD/enums/RoomType.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/models/Property.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/ClearTripLLD/models/Property.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/models/PropertyPrice.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/ClearTripLLD/models/PropertyPrice.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/models/PropertySold.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/ClearTripLLD/models/PropertySold.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/models/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/ClearTripLLD/models/User.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/ClearTripLLD/service/PropertyHuntService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/ClearTripLLD/service/PropertyHuntService.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/PropertyHunt/PropertyHutApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/PropertyHunt/PropertyHutApplication.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/PropertyHunt/UI/PropertyHutDisplay.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/PropertyHunt/UI/PropertyHutDisplay.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/PropertyHunt/Util/SearchPropertyUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/PropertyHunt/Util/SearchPropertyUtil.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/PropertyHunt/dao/PropertyHuntDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/PropertyHunt/dao/PropertyHuntDao.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/PropertyHunt/enums/ListingType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/PropertyHunt/enums/ListingType.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/PropertyHunt/enums/RoomType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/PropertyHunt/enums/RoomType.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/PropertyHunt/models/Property.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/PropertyHunt/models/Property.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/PropertyHunt/models/PropertyPrice.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/PropertyHunt/models/PropertyPrice.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/PropertyHunt/models/PropertySold.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/PropertyHunt/models/PropertySold.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/PropertyHunt/models/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/PropertyHunt/models/User.class -------------------------------------------------------------------------------- /PropertyHunt/out/production/PropertyHunt/service/PropertyHuntService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/PropertyHunt/out/production/PropertyHunt/service/PropertyHuntService.class -------------------------------------------------------------------------------- /PropertyHunt/src/enums/ListingType.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum ListingType { 4 | SELL, 5 | RENT 6 | } 7 | -------------------------------------------------------------------------------- /PropertyHunt/src/enums/RoomType.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum RoomType { 4 | ONEBHK, 5 | TWOBHK, 6 | THREEBHK 7 | } 8 | -------------------------------------------------------------------------------- /PropertyHunt/src/models/PropertyPrice.java: -------------------------------------------------------------------------------- 1 | package models; 2 | 3 | public class PropertyPrice { 4 | int startRange; 5 | int endRange; 6 | } 7 | -------------------------------------------------------------------------------- /Ride Sharing /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /DriverAndRiderApplication/bin/application/mainClass.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /DriverAndRiderApplication/bin/application/mainClass.class -------------------------------------------------------------------------------- /Ride Sharing /DriverAndRiderApplication/bin/data/DummyData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /DriverAndRiderApplication/bin/data/DummyData.class -------------------------------------------------------------------------------- /Ride Sharing /DriverAndRiderApplication/bin/input/datainput.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /DriverAndRiderApplication/bin/input/datainput.class -------------------------------------------------------------------------------- /Ride Sharing /DriverAndRiderApplication/bin/test/EligibleDriverTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /DriverAndRiderApplication/bin/test/EligibleDriverTest.class -------------------------------------------------------------------------------- /Ride Sharing /DriverAndRiderApplication/bin/test/MainClassTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /DriverAndRiderApplication/bin/test/MainClassTest.class -------------------------------------------------------------------------------- /Ride Sharing /DriverAndRiderApplication/bin/test/businessLogicImplTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /DriverAndRiderApplication/bin/test/businessLogicImplTest.class -------------------------------------------------------------------------------- /Ride Sharing /Ride-Sharing Application/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Ride Sharing /Ride-Sharing Application/Ride-Sharing Application.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Ride Sharing /Ride-Sharing Application/src/main/java/model/RideStatus.java: -------------------------------------------------------------------------------- 1 | package model; 2 | 3 | public enum RideStatus { 4 | NotStarted, 5 | InProgress, 6 | Completed 7 | } 8 | -------------------------------------------------------------------------------- /Ride Sharing /RideShare_MachineCoding_Sample/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /RideShare_MachineCoding_Sample/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /RideShare_MachineCoding_Sample/f1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /RideShare_MachineCoding_Sample/f1.png -------------------------------------------------------------------------------- /Ride Sharing /RideShare_MachineCoding_Sample/f2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /RideShare_MachineCoding_Sample/f2.png -------------------------------------------------------------------------------- /Ride Sharing /RideSharing2/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /RideSharing2/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /RideSharing2/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /Ride Sharing /RideSharing2/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Ride Sharing /cab_booking_system/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /cab_booking_system/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /cab_booking_system/README.md: -------------------------------------------------------------------------------- 1 | # Cab booking system 2 | -------------------------------------------------------------------------------- /Ride Sharing /cab_booking_system/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /cab_booking_system/src/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /cab_booking_system/src/enums/AccountStatus.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum AccountStatus { 4 | IN_ACTIVE,ACTIVE; 5 | } 6 | -------------------------------------------------------------------------------- /Ride Sharing /cab_booking_system/src/enums/CabBookingStatus.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum CabBookingStatus { 4 | PENDING,BOOKED,COMPLETED,DENIED,CANCELLED; 5 | } 6 | -------------------------------------------------------------------------------- /Ride Sharing /cab_booking_system/src/enums/CabStatus.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum CabStatus { 4 | NOT_AVAILABLE, AVAILABLE, BUSY; 5 | } 6 | -------------------------------------------------------------------------------- /Ride Sharing /cab_booking_system/src/enums/RiderStatus.java: -------------------------------------------------------------------------------- 1 | package enums; 2 | 3 | public enum RiderStatus { 4 | FREE,IN_RIDE; 5 | } 6 | -------------------------------------------------------------------------------- /Ride Sharing /miniuber/MiniUber.java: -------------------------------------------------------------------------------- 1 | package com.system.lintcode.miniuber; 2 | 3 | public interface MiniUber { 4 | Trip report( int driverId, int lat, int lng); 5 | Trip request( int riderId, int lat, int lng); 6 | } 7 | -------------------------------------------------------------------------------- /Ride Sharing /ride-sharing-low-level-design/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /ride-sharing-low-level-design/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /ride-sharing-low-level-design/problem-statement.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /ride-sharing-low-level-design/problem-statement.pdf -------------------------------------------------------------------------------- /Ride Sharing /ride-sharing-low-level-design/src/main/java/com/company/RideApp.java: -------------------------------------------------------------------------------- 1 | package com.company; 2 | 3 | public class RideApp { 4 | public static void main(String[] args) { 5 | // ... 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Ride Sharing /ride-sharing-low-level-design/src/main/java/com/company/model/TripStatus.java: -------------------------------------------------------------------------------- 1 | package com.company.model; 2 | 3 | public enum TripStatus { 4 | IN_PROGRESS, 5 | WITHDRAWN, 6 | COMPLETED; 7 | } 8 | -------------------------------------------------------------------------------- /Ride Sharing /ridesharing/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /ridesharing/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /ridesharing/model/Gender.java: -------------------------------------------------------------------------------- 1 | package com.github.akshay.ridesharing.model; 2 | 3 | public enum Gender { 4 | MALE, 5 | FEMALE, 6 | NOT_MENTION 7 | } 8 | -------------------------------------------------------------------------------- /Ride Sharing /ridesharing/model/RideType.java: -------------------------------------------------------------------------------- 1 | package com.github.akshay.ridesharing.model; 2 | 3 | public enum RideType { 4 | FASTEST_RIDE, 5 | EARLIEST_RIDE 6 | 7 | } 8 | -------------------------------------------------------------------------------- /Ride Sharing /ridesharing1/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /ridesharing1/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /ridesharing1/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /ridesharing1/src/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /ridesharing1/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /ridesharing1/src/main/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /ridesharing1/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /ridesharing1/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /ridesharing1/src/main/java/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /ridesharing1/src/main/java/com/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /ridesharing1/src/main/java/com/github/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /ridesharing1/src/main/java/com/github/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /ridesharing1/src/main/java/com/github/akshay/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /ridesharing1/src/main/java/com/github/akshay/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /uber/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /uber/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /uber/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /uber/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Ride Sharing /uber/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'uber' 2 | include('commons') 3 | -------------------------------------------------------------------------------- /Ride Sharing /uber/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /uber/src/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /uber/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /uber/src/main/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /uber/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /uber/src/main/java/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /uber/src/main/java/lowleveldesign/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /uber/src/main/java/lowleveldesign/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /uber/src/main/java/lowleveldesign/uber/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /uber/src/main/java/lowleveldesign/uber/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /uber/src/main/java/lowleveldesign/uber/api/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/Ride Sharing /uber/src/main/java/lowleveldesign/uber/api/.DS_Store -------------------------------------------------------------------------------- /Ride Sharing /uber/src/main/java/lowleveldesign/uber/api/clients/RegistrationServiceClient.java: -------------------------------------------------------------------------------- 1 | package lowleveldesign.uber.api.clients; 2 | 3 | public class RegistrationServiceClient { 4 | } 5 | -------------------------------------------------------------------------------- /Ride Sharing /uber/src/main/java/lowleveldesign/uber/api/controllers/AuthenticationController.java: -------------------------------------------------------------------------------- 1 | package lowleveldesign.uber.api.controllers; 2 | 3 | public class AuthenticationController { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /Ride Sharing /uber/src/main/java/lowleveldesign/uber/api/core/services/ITrackingService.java: -------------------------------------------------------------------------------- 1 | package lowleveldesign.uber.api.core.services; 2 | 3 | public class ITrackingService { 4 | } 5 | -------------------------------------------------------------------------------- /Ride Sharing /uber/src/main/java/lowleveldesign/uber/api/core/startegies/eta/IETAStrategy.java: -------------------------------------------------------------------------------- 1 | package lowleveldesign.uber.api.core.startegies.eta; 2 | 3 | public interface IETAStrategy { 4 | Long get(); 5 | } 6 | -------------------------------------------------------------------------------- /Ride Sharing /uber/src/main/java/lowleveldesign/uber/api/enums/RoleName.java: -------------------------------------------------------------------------------- 1 | package lowleveldesign.uber.api.enums; 2 | 3 | public enum RoleName { 4 | ROLE_RIDER, 5 | ROLE_DRIVER, 6 | ROLE_ADMIN 7 | } -------------------------------------------------------------------------------- /StockExchange/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/.DS_Store -------------------------------------------------------------------------------- /StockExchange/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /StockExchange/out/production/Navi/StockExchangeApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/out/production/Navi/StockExchangeApplication.class -------------------------------------------------------------------------------- /StockExchange/out/production/Navi/constants/OrderType.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/out/production/Navi/constants/OrderType.class -------------------------------------------------------------------------------- /StockExchange/out/production/Navi/dao/StockExchangeDao$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/out/production/Navi/dao/StockExchangeDao$1.class -------------------------------------------------------------------------------- /StockExchange/out/production/Navi/dao/StockExchangeDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/out/production/Navi/dao/StockExchangeDao.class -------------------------------------------------------------------------------- /StockExchange/out/production/Navi/model/BuyOrder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/out/production/Navi/model/BuyOrder.class -------------------------------------------------------------------------------- /StockExchange/out/production/Navi/model/Order.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/out/production/Navi/model/Order.class -------------------------------------------------------------------------------- /StockExchange/out/production/Navi/model/OrderFactory.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/out/production/Navi/model/OrderFactory.class -------------------------------------------------------------------------------- /StockExchange/out/production/Navi/model/SellOrder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/out/production/Navi/model/SellOrder.class -------------------------------------------------------------------------------- /StockExchange/out/production/Navi/service/StockExchangeService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/out/production/Navi/service/StockExchangeService.class -------------------------------------------------------------------------------- /StockExchange/out/production/Navi/service/StockExchangeServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/out/production/Navi/service/StockExchangeServiceImpl.class -------------------------------------------------------------------------------- /StockExchange/out/production/Navi/ui/ExecuteOrders.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/StockExchange/out/production/Navi/ui/ExecuteOrders.class -------------------------------------------------------------------------------- /StockExchange/src/constants/OrderType.java: -------------------------------------------------------------------------------- 1 | package constants; 2 | 3 | public enum OrderType { 4 | SELL_ORDER, 5 | BUY_ORDER 6 | } 7 | -------------------------------------------------------------------------------- /StockExchange/src/data.txt: -------------------------------------------------------------------------------- 1 | #1 09:45 BAC sell 240.12 100 2 | #2 09:46 BAC sell 237.45 90 3 | #3 09:47 BAC buy 238.10 110 4 | #4 09:48 BAC buy 237.80 10 5 | #5 09:49 BAC buy 237.80 40 6 | #6 09:50 BAC sell 236.00 50 7 | -------------------------------------------------------------------------------- /ledger_company_navi/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/ledger_company_navi/.DS_Store -------------------------------------------------------------------------------- /ledger_company_navi/README.md: -------------------------------------------------------------------------------- 1 | Problem description 2 | 3 | https://www.geektrust.in/coding-problem/backend/ledger-co -------------------------------------------------------------------------------- /ledger_company_navi/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/ledger_company_navi/src/.DS_Store -------------------------------------------------------------------------------- /ledger_company_navi/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/ledger_company_navi/src/main/.DS_Store -------------------------------------------------------------------------------- /ledger_company_navi/src/main/java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/ledger_company_navi/src/main/java/.DS_Store -------------------------------------------------------------------------------- /ledger_company_navi/src/main/java/com/navi/ledger/command/CommandExecution.java: -------------------------------------------------------------------------------- 1 | package com.navi.ledger.command; 2 | 3 | public interface CommandExecution { 4 | 5 | void execute(); 6 | } 7 | -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/leetcode-lld-flipkart-coding-blox/.DS_Store -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/SDE2- MC Question.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/leetcode-lld-flipkart-coding-blox/SDE2- MC Question.pdf -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/lib/javax.annotation.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/leetcode-lld-flipkart-coding-blox/lib/javax.annotation.jar -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/lib/javax.ejb.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/leetcode-lld-flipkart-coding-blox/lib/javax.ejb.jar -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/lib/javax.jms.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/leetcode-lld-flipkart-coding-blox/lib/javax.jms.jar -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/lib/javax.persistence.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/leetcode-lld-flipkart-coding-blox/lib/javax.persistence.jar -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/lib/javax.resource.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/leetcode-lld-flipkart-coding-blox/lib/javax.resource.jar -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/lib/javax.servlet.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/leetcode-lld-flipkart-coding-blox/lib/javax.servlet.jar -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/lib/javax.servlet.jsp.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/leetcode-lld-flipkart-coding-blox/lib/javax.servlet.jsp.jar -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/lib/javax.servlet.jsp.jstl.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/leetcode-lld-flipkart-coding-blox/lib/javax.servlet.jsp.jstl.jar -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/lib/javax.transaction.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kumaransg/LLD/1698cc6f993a5014d4370b5e0db9f64d322e2400/leetcode-lld-flipkart-coding-blox/lib/javax.transaction.jar -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8080 2 | spring.profiles.active=dev -------------------------------------------------------------------------------- /leetcode-lld-flipkart-coding-blox/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8080 2 | spring.profiles.active=dev --------------------------------------------------------------------------------