Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ashishps1/awesome-low-level-design
/ functions
Functions
6,018 in github.com/ashishps1/awesome-low-level-design
⨍
Functions
6,018
◇
Types & classes
2,108
↓ 4 callers
Method
insert_coin
(self, coin: Coin)
solutions/python/vendingmachine/states.py:39
↓ 4 callers
Method
isCheckmate
(Color color)
solutions/java/src/chessgame/Board.java:68
↓ 4 callers
Method
isStalemate
(Color color)
solutions/java/src/chessgame/Board.java:73
↓ 4 callers
Method
is_checkmate
(self, color)
solutions/python/chessgame/board.py:52
↓ 4 callers
Method
is_stalemate
(self, color)
solutions/python/chessgame/board.py:56
↓ 4 callers
Method
newFitnessDataPushed
(int newSteps, int newActiveMinutes, int newCalories)
design-patterns/java/observer/FitnessDataNaive.java:18
↓ 4 callers
Method
next
()
design-patterns/java/iterator/books/Iterator.java:3
↓ 4 callers
Method
notifyPassenger
(ride *Ride)
solutions/golang/ridesharingservice/ride_service.go:110
↓ 4 callers
Method
notify_observers
(self, event: 'Event')
solutions/python/stackoverflow/content.py:45
↓ 4 callers
Method
off
()
design-patterns/Javascript/Structural Pattern/Facade Design Pattern/lights.js:8
↓ 4 callers
Method
on
()
design-patterns/Javascript/Structural Pattern/Facade Design Pattern/lights.js:4
↓ 4 callers
Method
pressButton
()
design-patterns/Javascript/Behavioral Pattern/Command Design Pattern/invoker.js:7
↓ 4 callers
Method
press_button
(self)
design-patterns/python/command/remote_control_with_undo.py:15
↓ 4 callers
Method
printAccountStatus
(User user)
solutions/java/src/onlinestockbrokeragesystem/StockBrokerageSystemDemo.java:88
↓ 4 callers
Method
printBoard
()
solutions/java/src/tictactoe/TicTacToeSystem.java:49
↓ 4 callers
Method
printCatalog
()
solutions/java/src/librarymanagementsystem/LibraryManagementSystem.java:83
↓ 4 callers
Method
printReputations
(User... users)
solutions/java/src/stackoverflow/StackOverflowDemo.java:60
↓ 4 callers
Function
print_account_status
(user: User)
solutions/python/onlinestockbrokeragesystem/stock_brokerage_system_demo.py:6
↓ 4 callers
Method
print_catalog
(self)
solutions/python/librarymanagementsystem/library_management_system.py:74
↓ 4 callers
Method
print_reputations
(*users)
solutions/python/stackoverflow/stack_overflow_demo.py:53
↓ 4 callers
Method
publish
(self, topic_name: str, message: Message)
solutions/python/pubsubsystem/pub_sub_service.py:51
↓ 4 callers
Method
publish
(String topicName, Message message)
solutions/java/src/pubsubsystem/PubSubService.java:48
↓ 4 callers
Function
readLine
(reader *bufio.Reader)
solutions/golang/chessgame/chess_game.go:82
↓ 4 callers
Method
registerStudentForCourse
(String studentId, String offeringId)
solutions/java/src/courseregistrationsystem/CourseRegistrationSystemFacade.java:13
↓ 4 callers
Method
removeFromDataBase
(String customerId)
design-patterns/java/factory/subscription/DataBase.java:16
↓ 4 callers
Method
render
()
design-patterns/java/decorator/TextView.java:2
↓ 4 callers
Method
search
(DirectoryNode directory, Map<String, Object> params)
solutions/java/src/filedirectory/strategy/NodeSearchStrategy.java:11
↓ 4 callers
Method
searchRestaurants
(List<RestaurantSearchStrategy> strategies)
solutions/java/src/fooddeliveryservice/FoodDeliveryService.java:116
↓ 4 callers
Method
search_restaurants
(self, strategies: List[RestaurantSearchStrategy])
solutions/python/fooddeliveryservice/food_delivery_service.py:99
↓ 4 callers
Method
selectCoffee
(CoffeeType type, List<ToppingType> toppings)
solutions/java/src/coffeevendingmachine/CoffeeVendingMachine.java:31
↓ 4 callers
Method
selectItem
(code: string)
solutions/typescript/src/VendingMachine/VendingMachineState/VendingMachineState.ts:5
↓ 4 callers
Method
select_coffee
(self, machine: 'CoffeeVendingMachine', coffee: 'Coffee')
solutions/python/coffeevendingmachine/states.py:60
↓ 4 callers
Method
setCommand
(command)
design-patterns/Javascript/Behavioral Pattern/Command Design Pattern/invoker.js:3
↓ 4 callers
Method
setCurrentCard
(Card card)
solutions/java/src/atm/ATMSystem.java:45
↓ 4 callers
Method
setState
(OrderItemState state)
solutions/java/src/restaurantmanagementsystem/model/OrderItem.java:31
↓ 4 callers
Method
setState
(TaskState state)
solutions/java/src/taskmanagementsystem/models/Task.java:68
↓ 4 callers
Method
setState
(ItemState state)
solutions/java/src/librarymanagementsystem/models/BookCopy.java:23
↓ 4 callers
Method
setStatus
(OrderStatus newStatus)
solutions/java/src/fooddeliveryservice/order/Order.java:34
↓ 4 callers
Method
setTemperature
(temperature)
design-patterns/Javascript/Behavioral Pattern/Observer Design Pattern/publisher.js:23
↓ 4 callers
Method
set_command
(self, command: Command)
design-patterns/python/command/remote_control_with_undo.py:12
↓ 4 callers
Method
set_next
(self, next_handler: RequestHandler)
design-patterns/python/chainofresponsibility/base_handler.py:8
↓ 4 callers
Method
set_state
(self, state: OrderItemState)
solutions/python/restaurantmanagementsystem/order_item.py:24
↓ 4 callers
Method
set_state
(self, state: TaskState)
solutions/python/taskmanagementsystem/task.py:56
↓ 4 callers
Method
set_state
(self, state: 'ItemState')
solutions/python/librarymanagementsystem/book_copy.py:25
↓ 4 callers
Method
set_status
(self, new_status: OrderStatus)
solutions/python/fooddeliveryservice/order.py:30
↓ 4 callers
Method
showIngredientsMap
()
solutions/java/src/coffeevendingmachine/CoffeeVendingMachine.java:67
↓ 4 callers
Method
shutdown
()
solutions/java/src/loggingframework/LogManager.java:46
↓ 4 callers
Method
startGreen
()
solutions/java/src/trafficsignalcontrolsystem/TrafficLight.java:29
↓ 4 callers
Method
start_green
(self)
solutions/python/trafficsignalsystem/traffic_light.py:19
↓ 4 callers
Method
toString
()
solutions/java/src/linkedin/entities/Education.java:16
↓ 4 callers
Method
toString
()
solutions/java/src/taskmanagementsystem/models/ActivityLog.java:14
↓ 4 callers
Method
toString
()
solutions/java/src/cricinfo/entity/PlayerStats.java:29
↓ 4 callers
Method
undoLast
()
design-patterns/java/command/SmartButton.java:20
↓ 4 callers
Method
updateDataBase
(String customerId, String subscriptionType)
design-patterns/java/factory/subscription/DataBase.java:22
↓ 4 callers
Method
vote
(voter: User, type: VoteTypeEnum)
solutions/typescript/src/StackOverflow/Votable.ts:5
↓ 3 callers
Method
AddArtist
(artist *Artist)
solutions/golang/musicstreamingservice/music_library.go:46
↓ 3 callers
Method
AddBook
(book *Book)
solutions/golang/librarymanagementsystem/library_manager.go:35
↓ 3 callers
Method
AddBook
AddBook adds a book to the collection
design-patterns/golang/iterator/book_collection.go:16
↓ 3 callers
Method
AddCar
(car *Car)
solutions/golang/carrentalsystem/rental_system.go:35
↓ 3 callers
Method
AddComment
(comment *Comment)
solutions/golang/stackOverFlow/types.go:16
↓ 3 callers
Method
AddItem
(product *Product, quantity int)
solutions/golang/onlineshoppingservice/shopping_cart.go:11
↓ 3 callers
Method
AddMember
(user *User)
solutions/golang/splitwise/group.go:19
↓ 3 callers
Method
AddMenuItem
(item *MenuItem)
solutions/golang/restaurantmanagementsystem/restaurant.go:30
↓ 3 callers
Method
AddProduct
(product *Product, quantity int)
solutions/golang/vendingmachine/inventory.go:11
↓ 3 callers
Method
AddSplit
(split Split)
solutions/golang/splitwise/expense.go:21
↓ 3 callers
Method
AddStock
(stock *Stock, quantity int)
solutions/golang/onlinestockbrokeragesystem/portfolio.go:18
↓ 3 callers
Method
AddUser
(user *User)
solutions/golang/splitwise/splitwise_service.go:28
↓ 3 callers
Method
AddUser
AddUser adds a user to the chat
design-patterns/golang/mediator/chat_mediator.go:14
↓ 3 callers
Method
BookTickets
(user *User, concert *Concert, seats []*Seat)
solutions/golang/concertticketbookingsystem/concert_booking_system.go:57
↓ 3 callers
Method
CreateTask
(task *Task)
solutions/golang/taskmanagementsystem/task_manager.go:27
↓ 3 callers
Method
CreateUser
(username, email string)
solutions/golang/stackOverFlow/stackoverflow.go:26
↓ 3 callers
Method
Deposit
(amount *big.Float)
solutions/golang/digitalwalletservice/account.go:29
↓ 3 callers
Method
DispenseProduct
()
solutions/golang/vendingmachine/vending_machine.go:38
↓ 3 callers
Method
Display
()
design-patterns/golang/proxy/image_proxy.go:22
↓ 3 callers
Method
Get
Get retrieves and clones a prototype from the registry
design-patterns/golang/prototype/enemy_registry.go:21
↓ 3 callers
Method
GetAccount
(accountNumber string)
solutions/golang/atm/banking_service.go:24
↓ 3 callers
Method
GetColor
()
solutions/golang/chessgame/piece.go:5
↓ 3 callers
Method
GetComments
()
solutions/golang/stackOverFlow/types.go:17
↓ 3 callers
Method
GetContent
GetContent returns the current content
design-patterns/golang/memento/text_editor.go:22
↓ 3 callers
Method
GetDueDate
()
solutions/golang/taskmanagementsystem/task.go:39
↓ 3 callers
Method
GetPrice
()
solutions/golang/coffeevendingmachine/coffee.go:21
↓ 3 callers
Method
GetReputation
()
solutions/golang/stackOverFlow/types.go:96
↓ 3 callers
Method
GetTags
()
solutions/golang/stackOverFlow/types.go:235
↓ 3 callers
Method
GetUniqueCharacterCount
GetUniqueCharacterCount returns the number of unique character flyweights
design-patterns/golang/flyweight/text_editor_client.go:24
↓ 3 callers
Method
Header
Header adds a header to the request
design-patterns/golang/builder/http_request_builder.go:44
↓ 3 callers
Method
InsertCoin
(amount float64)
design-patterns/golang/state/vending_machine.go:42
↓ 3 callers
Function
NewBook
(isbn, title, author string, publicationYear int)
solutions/golang/librarymanagementsystem/book.go:14
↓ 3 callers
Function
NewBook
NewBook creates a new Book instance
design-patterns/golang/iterator/book.go:10
↓ 3 callers
Function
NewCar
(make, model string, year int, licensePlate string, rentalPricePerDay float64)
solutions/golang/carrentalsystem/car.go:15
↓ 3 callers
Function
NewCoffee
(name string, price float64, recipe map[*Ingredient]int)
solutions/golang/coffeevendingmachine/coffee.go:9
↓ 3 callers
Function
NewEnemy
NewEnemy creates a new Enemy instance
design-patterns/golang/prototype/enemy.go:15
↓ 3 callers
Function
NewFile
NewFile creates a new File instance
design-patterns/golang/composite/file.go:12
↓ 3 callers
Function
NewImageProxy
NewImageProxy creates a new ImageProxy
design-patterns/golang/proxy/image_proxy.go:12
↓ 3 callers
Function
NewIngredient
(name string, quantity int)
solutions/golang/coffeevendingmachine/ingredient.go:11
↓ 3 callers
Function
NewNotification
(id string, user *User, notifType NotificationType, content string)
solutions/golang/linkedin/notification.go:13
↓ 3 callers
Function
NewOrderItem
(menuItem *MenuItem, quantity int)
solutions/golang/fooddeliveryservice/order.go:10
↓ 3 callers
Function
NewParkingSpot
(spotNumber int, vehicleType VehicleType)
solutions/golang/parkinglot/parking_spot.go:9
↓ 3 callers
Function
NewPrintSubscriber
(name string)
solutions/golang/pubsubsystem/print_subscriber.go:9
↓ 3 callers
Function
NewProduct
(name string, price float64)
solutions/golang/vendingmachine/product.go:8
↓ 3 callers
Function
NewTask
(id, title, description string, dueDate time.Time, priority int, assignedUser *User)
solutions/golang/taskmanagementsystem/task.go:15
← previous
next →
401–500 of 6,018, ranked by callers