MCPcopy Create free account

hub / github.com/RezaSi/go-interview-practice / functions

Functions12,886 in github.com/RezaSi/go-interview-practice

↓ 2 callersFunctionBFS
BFS performs breadth-first search starting from the given node
challenge-4/submissions/Ali-Fartoot/solution-template.go:15
↓ 2 callersFunctionBFSQuery
get the path of all nodes connected to the root
challenge-4/submissions/mick4711/solution-template.go:75
↓ 2 callersMethodBatchUpdateInventory
BatchUpdateInventory updates the quantity of multiple products in a single transaction
challenge-13/solution-template.go:74
↓ 2 callersFunctionBellmanFord
BellmanFord implements the Bellman-Ford algorithm for weighted graphs that may contain negative weight edges to find shortest paths from a source vert
challenge-25/solution-template.go:100
↓ 2 callersFunctionBinarySearch
BinarySearch performs a standard binary search to find the target in the sorted array. Returns the index of the target if found, or -1 if not found.
challenge-21/submissions/JackDalberg/solution-template.go:28
↓ 2 callersFunctionBinarySearchRecursive
BinarySearchRecursive performs binary search using recursion. Returns the index of the target if found, or -1 if not found.
challenge-21/submissions/Mxn-ptr/solution-template.go:34
↓ 2 callersFunctionBreadthFirstSearch
BreadthFirstSearch implements BFS for unweighted graphs to find shortest paths from a source vertex to all other vertices. Returns: - distances: slice
challenge-25/solution-template.go:79
↓ 2 callersMethodBroadcast
Broadcast sends a message to all connected clients
challenge-8/solution-template.go:54
↓ 2 callersMethodBurst
()
challenge-29/submissions/nzamulov/solution-template.go:18
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/odelbos/solution-template.go:54
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/hudazaan/solution-template.go:55
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/hvijaycse/solution-template.go:55
↓ 2 callersMethodCall
(ctx context.Context, operation func() (any, error))
challenge-20/submissions/Kosench/solution-template.go:55
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/PopovMarko/solution-template.go:57
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/manik23/solution-template.go:59
↓ 2 callersMethodCall
defines the operations for a circuit breaker
challenge-20/submissions/imankhodadi/solution-template.go:49
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/amrshaban2005/solution-template.go:55
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/YounesBouchbouk/solution-template.go:55
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/mvsouza/solution-template.go:65
↓ 2 callersMethodCall
(ctx context.Context, operation func() (any, error))
challenge-20/submissions/mick4711/solution-template.go:55
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/PolinaSvet/solution-template.go:55
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/y1hao/solution-template.go:55
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/muhammedkucukaslan/solution-template.go:55
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/PureTeamLead/solution-template.go:55
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/Onkar-25/solution-template.go:55
↓ 2 callersMethodCall
(ctx context.Context, operation func() (interface{}, error))
challenge-20/submissions/JackDalberg/solution-template.go:55
↓ 2 callersMethodCapacity
()
challenge-28/solution-template.go:67
↓ 2 callersMethodCapacity
()
challenge-28/solution-template.go:117
↓ 2 callersMethodCapacity
()
challenge-28/solution-template.go:167
↓ 2 callersFunctionCategoryExists
CategoryExists reports whether a category with the given name exists.
packages/cobra/challenge-3-subcommands-persistence/submissions/PopovMarko/solution.go:482
↓ 2 callersFunctionCelsiusToFahrenheit
(celsius float64)
challenge-18/submissions/imankhodadi/solution-template.go:19
↓ 2 callersMethodCheckBalanceAvailable
CheckBalanceAvailable checks if the account has enough balance for a withdrawal or transfer.
challenge-7/submissions/mvsouza/solution-template.go:101
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/odelbos/solution-template.go:117
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/Kosench/solution-template.go:119
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/PopovMarko/solution-template.go:119
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/shivamarora1/solution-template.go:119
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/mvsouza/solution-template.go:125
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/mick4711/solution-template.go:118
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/PolinaSvet/solution-template.go:120
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/y1hao/solution-template.go:118
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/ashwinipatankar/solution-template.go:120
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/Cpoing/solution-template.go:120
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/JackDalberg/solution-template.go:119
↓ 2 callersMethodCheckInventory
CheckInventory checks if a product is available in the requested quantity
challenge-14/submissions/kuzminprog/solution-template.go:118
↓ 2 callersMethodCheckInventoryRPC
(ctx context.Context, req *CheckInventoryRequest)
challenge-14/submissions/mvsouza/solution-template.go:167
↓ 2 callersFunctionCoinCombination
CoinCombination returns a map with the specific combination of coins that gives the minimum number. The keys are coin denominations and values are the
challenge-22/submissions/manik23/solution-template.go:54
↓ 2 callersFunctionCoinCombination
CoinCombination returns a map with the specific combination of coins that gives the minimum number. The keys are coin denominations and values are the
challenge-22/submissions/sutthiphong2005/solution-template.go:60
↓ 2 callersFunctionCoinCombination
CoinCombination returns a map with the specific combination of coins that gives the minimum number. The keys are coin denominations and values are the
challenge-22/submissions/mvsouza/solution-template.go:50
↓ 2 callersFunctionCoinCombination
CoinCombination returns a map with the specific combination of coins that gives the minimum number. The keys are coin denominations and values are the
challenge-22/submissions/y1hao/solution-template.go:51
↓ 2 callersFunctionCoinCombination
CoinCombination returns a map with the specific combination of coins that gives the minimum number. The keys are coin denominations and values are the
challenge-22/submissions/KhaledMosaad/solution-template.go:54
↓ 2 callersFunctionCoinCombination
CoinCombination returns a map with the specific combination of coins that gives the minimum number. The keys are coin denominations and values are the
challenge-22/submissions/onomica/solution-template.go:51
↓ 2 callersFunctionCoinCombination
CoinCombination returns a map with the specific combination of coins that gives the minimum number. The keys are coin denominations and values are the
challenge-22/submissions/nzamulov/solution-template.go:50
↓ 2 callersFunctionConcurrentBFSQueries
ConcurrentBFSQueries processes BFS queries concurrently using worker goroutines Each worker processes queries from a shared job queue
challenge-4/submissions/Ali-Fartoot/solution-template.go:45
↓ 2 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/kiramux/solution-template.go:175
↓ 2 callersMethodContains
(element T)
challenge-27/submissions/imankhodadi/solution-template.go:126
↓ 2 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/mvsouza/solution-template.go:165
↓ 2 callersMethodContains
(value T)
challenge-27/submissions/Ali-Fartoot/solution-template.go:127
↓ 2 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/PolinaSvet/solution-template.go:225
↓ 2 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/cep-ter/solution-template.go:173
↓ 2 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/xyersh/solution-template.go:209
↓ 2 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/Johrespi/solution-template.go:197
↓ 2 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/ashwinipatankar/solution-template.go:225
↓ 2 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/maket12/solution-template.go:194
↓ 2 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/nzamulov/solution-template.go:163
↓ 2 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/Gandook/solution-template.go:180
↓ 2 callersMethodContains
Contains returns true if the set contains the given element
challenge-27/submissions/JackDalberg/solution-template.go:171
↓ 2 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests (Done)
packages/gin/challenge-2-middleware/submissions/BrianHuang813/solution.go:222
↓ 2 callersFunctionContentTypeMiddleware
ContentTypeMiddleware validates content type for POST/PUT requests
packages/gin/challenge-2-middleware/submissions/father-frog/solution.go:353
↓ 2 callersMethodCreateCancellableContext
Create a cancellable context from a parent context
challenge-30/solution-template.go:12
↓ 2 callersMethodCreateLimiter
(config RateLimiterConfig)
challenge-29/solution-template.go:263
↓ 2 callersMethodCreateLimiter
(config RateLimiterConfig)
challenge-29/submissions/imankhodadi/solution-template.go:604
↓ 2 callersMethodCreateProduct
(product *Product)
challenge-13/submissions/imankhodadi/solution-template.go:44
↓ 2 callersMethodCreateProduct
CreateProduct adds a new product to the database
challenge-13/submissions/PolinaSvet/solution-template.go:66
↓ 2 callersMethodCreateTimeoutContext
Create a context with timeout
challenge-30/solution-template.go:15
↓ 2 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/solution-template.go:74
↓ 2 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/hvijaycse/solution-template.go:91
↓ 2 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/manik23/solution-template.go:103
↓ 2 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/nosrio/solution-template.go:102
↓ 2 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/Mxn-ptr/solution-template.go:99
↓ 2 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/korranat9/solution-template.go:102
↓ 2 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/ne0phyte/solution-template.go:89
↓ 2 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/Gandook/solution-template.go:86
↓ 2 callersMethodDeposit
Deposit adds the specified amount to the account balance. It returns an error if the amount is invalid or exceeds the transaction limit.
challenge-7/submissions/JackDalberg/solution-template.go:99
↓ 2 callersFunctionDijkstra
Dijkstra implements Dijkstra's algorithm for weighted graphs with non-negative weights to find shortest paths from a source vertex to all other vertic
challenge-25/solution-template.go:89
↓ 2 callersMethodDoRefreshToken
RefreshToken refreshes the access token using the refresh token Called automatically when the access token expires
challenge-15/submissions/Kosench/solution-template.go:865
↓ 2 callersMethodDoRefreshToken
RefreshToken refreshes the access token using the refresh token
challenge-15/submissions/PolinaSvet/solution-template.go:894
↓ 2 callersMethodElements
Elements returns a slice containing all elements in the set
challenge-27/solution-template.go:164
↓ 2 callersMethodError
Error returns a string representation of the PipelineError
challenge-12/submissions/PopovMarko/solution-template.go:91
↓ 2 callersMethodError
Error returns a string representation of the PipelineError
challenge-12/submissions/longbui98/solution-template.go:77
↓ 2 callersMethodError
Error returns a string representation of the PipelineError
challenge-12/submissions/nzamulov/solution-template.go:72
↓ 2 callersFunctionErrorHandlerMiddleware
ErrorHandlerMiddleware handles panics and errors
packages/gin/challenge-2-middleware/solution-template.go:139
↓ 2 callersMethodExpired
()
challenge-15/submissions/mvsouza/solution-template.go:470
↓ 2 callersFunctionFilter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/solution-template.go:192
↓ 2 callersFunctionFilterEven
FilterEven returns a new slice containing only the even numbers from the original slice.
challenge-19/solution-template.go:50
↓ 2 callersFunctionFindMax
FindMax returns the maximum value in a slice of integers. If the slice is empty, it returns 0.
challenge-19/solution-template.go:30
↓ 2 callersMethodGetBalance
()
challenge-7/submissions/imankhodadi/solution-template.go:18
↓ 2 callersMethodGetConnection
GetConnection возвращает соединение клиента
challenge-8/submissions/PolinaSvet/solution-template.go:52
↓ 2 callersMethodGetGitUsername
GetGitUsername returns the username extracted from git configuration
web-ui/internal/handlers/api.go:410
↓ 2 callersFunctionGetLISElements
GetLISElements returns one possible longest increasing subsequence (not just the length, but the actual elements).
challenge-24/submissions/mvsouza/solution-template.go:77
↓ 2 callersFunctionGetLISElements
GetLISElements returns one possible longest increasing subsequence (not just the length, but the actual elements).
challenge-24/submissions/nzamulov/solution-template.go:69
← previousnext →801–900 of 12,886, ranked by callers