Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RezaSi/go-interview-practice
/ functions
Functions
12,886 in github.com/RezaSi/go-interview-practice
⨍
Functions
12,886
◇
Types & classes
2,640
↓ 1 callers
Function
isValidSlug
TODO: Implement slug format validator
packages/gin/challenge-3-validation-errors/submissions/sweet-boby/solution.go:119
↓ 1 callers
Function
isValidSubsequence
Helper function to check if a sequence is a valid subsequence of another
challenge-24/solution-template_test.go:156
↓ 1 callers
Function
isValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/solution-template.go:112
↓ 1 callers
Function
isValidWarehouseCode
Format should be WH### (e.g., WH001, WH002)
packages/gin/challenge-3-validation-errors/submissions/odelbos/solution.go:116
↓ 1 callers
Function
isValidWarehouseCode
isValidWarehouseCode reports whether code is one of the known warehouse codes listed in validWarehouses.
packages/gin/challenge-3-validation-errors/submissions/PopovMarko/solution.go:126
↓ 1 callers
Function
isValidWarehouseCode
(code string)
packages/gin/challenge-3-validation-errors/submissions/imankhodadi/solution.go:118
↓ 1 callers
Function
isValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/yogtanko/solution.go:139
↓ 1 callers
Function
isValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/Mxn-ptr/solution.go:125
↓ 1 callers
Function
isValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/PolinaSvet/solution.go:123
↓ 1 callers
Function
isValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/22-7-co/solution.go:141
↓ 1 callers
Function
isValidWarehouseCode
Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/q1ngy/solution.go:131
↓ 1 callers
Function
isValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/ItalloMangueBoy/solution.go:127
↓ 1 callers
Function
isValidWarehouseCode
returns true if the warehouse is in validWarehouses
packages/gin/challenge-3-validation-errors/submissions/father-frog/solution.go:138
↓ 1 callers
Function
isValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/sweet-boby/solution.go:127
↓ 1 callers
Function
joinErrors
Join all errors into one
challenge-11/submissions/mvsouza/solution-template.go:84
↓ 1 callers
Function
limitersCleanup
(ctx context.Context)
packages/gin/challenge-2-middleware/submissions/PopovMarko/solution.go:448
↓ 1 callers
Method
loadChallengeDetails
loadChallengeDetails dynamically loads metadata for each challenge in the learning path
web-ui/internal/services/package.go:140
↓ 1 callers
Method
loadChallenges
(packagePath string)
web-ui/internal/services/package.go:302
↓ 1 callers
Function
loadEnvFile
loadEnvFile loads environment variables from a .env file
web-ui/main.go:68
↓ 1 callers
Function
loadEnvFromFile
(filename string)
web-ui/main.go:80
↓ 1 callers
Method
loadHighlights
()
web-ui/static/js/main.js:337
↓ 1 callers
Method
loadPackage
(packagePath, packageName string)
web-ui/internal/services/package.go:89
↓ 1 callers
Method
loadScoreboardForChallenge
loadScoreboardForChallenge loads the scoreboard for a specific challenge
web-ui/internal/services/scoreboard.go:35
↓ 1 callers
Method
loadSingleChallenge
loadSingleChallenge loads a single challenge from a directory
web-ui/internal/services/challenge.go:62
↓ 1 callers
Function
load_sponsors
Load sponsor list by scraping the public GitHub sponsors page.
scripts/generate_package_scoreboard.py:14
↓ 1 callers
Function
load_sponsors
Load sponsor list by scraping the public GitHub sponsors page.
scripts/generate_main_scoreboard.py:67
↓ 1 callers
Function
longestProperPrefix
(pattern string)
challenge-23/submissions/odelbos/solution-template.go:88
↓ 1 callers
Function
main
Main test function.
scripts/test_scoreboards.py:130
↓ 1 callers
Function
main
Main function to generate and update the package scoreboard.
scripts/generate_package_scoreboard.py:442
↓ 1 callers
Function
main
Main function to update all scoreboards.
scripts/update_all_scoreboards.py:40
↓ 1 callers
Function
main
Main function to generate and update the scoreboard.
scripts/generate_main_scoreboard.py:388
↓ 1 callers
Function
markReachableFromCycle
(graph [][]int, start int, distances []int, hasPath []bool, visited []bool)
challenge-25/submissions/PolinaSvet/solution-template.go:216
↓ 1 callers
Function
markdownToHTML
Simple markdown to HTML converter
web-ui/internal/utils/templates.go:12
↓ 1 callers
Function
min
(i,j int)
challenge-22/submissions/himanshum9/solution-template.go:56
↓ 1 callers
Function
myFib
myFib computes the fibbonaci num at n myFib(1) = 1 myFib(0) = 0
challenge-16/submissions/manik23/solution-template.go:153
↓ 1 callers
Function
naiveCheck
(text, pattern string, ind int)
challenge-23/submissions/Gandook/solution-template.go:46
↓ 1 callers
Function
newClient
(username string, server *ChatServer)
challenge-8/submissions/Kosench/solution-template.go:38
↓ 1 callers
Function
newClient
Client constructor returns *Client
challenge-8/submissions/PopovMarko/solution-template.go:22
↓ 1 callers
Function
newFIFONode
newFIFONode allocates a new FIFONode with the given key and value.
challenge-28/submissions/PopovMarko/solution-template.go:538
↓ 1 callers
Function
newFreqGroup
newFreqGroup allocates a new empty FreqGroup for the given access frequency.
challenge-28/submissions/PopovMarko/solution-template.go:301
↓ 1 callers
Function
newLFUNode
newLFUNode allocates a new LFUNode with frequency 1 (all new entries start at 1).
challenge-28/submissions/PopovMarko/solution-template.go:292
↓ 1 callers
Function
newLRUNode
newLRUNode allocates a new LRUNode with the given key and value.
challenge-28/submissions/PopovMarko/solution-template.go:90
↓ 1 callers
Function
nextHash
(h int, factor int, first, current byte)
challenge-23/submissions/y1hao/solution-template.go:171
↓ 1 callers
Function
normalize
(s string)
challenge-17/submissions/Cpoing/solution-template.go:24
↓ 1 callers
Function
normalizeString
CountWordFrequency takes a string containing multiple words and returns a map where each key is a word and the value is the number of times that word
challenge-6/submissions/mihir1737/solution-template.go:22
↓ 1 callers
Function
normalizeString
(str string)
challenge-17/submissions/IBraveMonkey/solution-template.go:43
↓ 1 callers
Method
notifyWaiters
()
challenge-29/submissions/PolinaSvet/solution-template.go:81
↓ 1 callers
Method
onDisconnection
()
challenge-8/submissions/JackDalberg/solution-template.go:44
↓ 1 callers
Function
optimizedFibonacci
(n int)
challenge-16/submissions/PolinaSvet/solution-template.go:115
↓ 1 callers
Method
parseAIResponse
parseAIResponse parses the AI response into a structured review
web-ui/internal/services/ai.go:665
↓ 1 callers
Method
parseHint
parseHint extracts hint from AI response
web-ui/internal/services/ai.go:778
↓ 1 callers
Method
parseQuestions
parseQuestions parses questions from AI response
web-ui/internal/services/ai.go:757
↓ 1 callers
Method
parseScoreboardMarkdown
parseScoreboardMarkdown parses the scoreboard markdown table
web-ui/internal/services/scoreboard.go:48
↓ 1 callers
Method
parseTestResults
parseTestResults parses Go test output to count passed and total tests
web-ui/internal/handlers/api.go:915
↓ 1 callers
Function
parse_package_scoreboard_file
Parse a package challenge SCOREBOARD.md file and extract usernames who completed the challenge (passed ALL tests).
scripts/generate_package_scoreboard.py:47
↓ 1 callers
Function
parse_scoreboard_file
Parse a SCOREBOARD.md file and extract usernames who completed the challenge (passed ALL tests).
scripts/generate_main_scoreboard.py:14
↓ 1 callers
Function
partition
partition partially sorts the array. items smaller than pivot are moved to left side of pivot. items greater than pivot are moved to right side of piv
challenge-16/submissions/manik23/solution-template.go:31
↓ 1 callers
Function
performBFS
(graph map[int][]int, start int)
challenge-4/submissions/shapoclack/solution-template.go:76
↓ 1 callers
Function
ping
Handler ======================================================================= TODO: Implement route handlers ping handles GET /ping - health check e
packages/gin/challenge-2-middleware/submissions/PolinaSvet/solution.go:333
↓ 1 callers
Function
pow
(a, b int64)
challenge-23/submissions/Gandook/solution-template.go:122
↓ 1 callers
Function
prepareText
(input string)
challenge-17/submissions/PolinaSvet/solution-template.go:39
↓ 1 callers
Function
process
(graph map[int][]int, jobs <-chan int, resultBFS chan reachableNode)
challenge-4/submissions/manik23/solution-template.go:14
↓ 1 callers
Method
processHtml
(result *ProcessedData, doc *html.Node)
challenge-11/submissions/mvsouza/solution-template.go:270
↓ 1 callers
Function
processItem
(item string)
challenge-30/submissions/cep-ter/solution-template.go:114
↓ 1 callers
Method
processURL
===== Helper method for processing a single URL =====
challenge-11/submissions/Kosench/solution-template.go:219
↓ 1 callers
Method
pruneFreqGroup
(freq int)
challenge-28/submissions/imankhodadi/solution-template.go:345
↓ 1 callers
Function
query
(graph map[int][]int, start int)
challenge-4/submissions/wxai2324/solution-template.go:51
↓ 1 callers
Function
quickSort
quickSort sorts a slice of integer partition smaller items on left side and bigger items on right side of pivot element selected in each iteration til
challenge-16/submissions/manik23/solution-template.go:47
↓ 1 callers
Method
reachedMaxRequests
()
challenge-20/submissions/mvsouza/solution-template.go:202
↓ 1 callers
Method
reachedTimeout
()
challenge-20/submissions/mvsouza/solution-template.go:198
↓ 1 callers
Function
readDirectory
readDirectory reads files from directory and returns FileInfo slice
packages/cobra/challenge-2-flags-args/submissions/odelbos/solution.go:295
↓ 1 callers
Function
readDirectory
readDirectory reads files from directory and returns FileInfo slice
packages/cobra/challenge-2-flags-args/submissions/PopovMarko/solution.go:295
↓ 1 callers
Function
readDirectory
readDirectory reads files from directory and returns FileInfo slice
packages/cobra/challenge-2-flags-args/submissions/PolinaSvet/solution.go:295
↓ 1 callers
Function
readDirectory
readDirectory reads files from directory and returns FileInfo slice
packages/cobra/challenge-2-flags-args/submissions/ashwinipatankar/solution.go:295
↓ 1 callers
Function
readDirectory
readDirectory reads files from directory and returns FileInfo slice
packages/cobra/challenge-2-flags-args/submissions/RezaSi/solution.go:295
↓ 1 callers
Method
recomputeMinFreq
()
challenge-28/submissions/imankhodadi/solution-template.go:352
↓ 1 callers
Function
recordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/solution-template.go:164
↓ 1 callers
Function
recordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/BrianHuang813/solution.go:257
↓ 1 callers
Function
recordFailedAttempt
(user *User)
packages/gin/challenge-4-authentication/submissions/odelbos/solution.go:240
↓ 1 callers
Function
recordFailedAttempt
recordFailedAttempt increments the user's failed login counter and locks the account for lockoutDuration once maxFailedAttempts is reached.
packages/gin/challenge-4-authentication/submissions/PopovMarko/solution.go:302
↓ 1 callers
Function
recordFailedAttempt
(user *User)
packages/gin/challenge-4-authentication/submissions/imankhodadi/solution.go:256
↓ 1 callers
Function
recordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/yogtanko/solution.go:307
↓ 1 callers
Function
recordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/Mxn-ptr/solution.go:227
↓ 1 callers
Function
recordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/PolinaSvet/solution.go:282
↓ 1 callers
Function
recordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/22-7-co/solution.go:245
↓ 1 callers
Function
recordFailedAttempt
Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/q1ngy/solution.go:236
↓ 1 callers
Function
recordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/ItalloMangueBoy/solution.go:273
↓ 1 callers
Function
recordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/law-lee/solution.go:242
↓ 1 callers
Function
recordFailedAttempt
recordFailedAttempt increments failed attempts, locks account if max attempts reached
packages/gin/challenge-4-authentication/submissions/father-frog/solution.go:312
↓ 1 callers
Function
recordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/sweet-boby/solution.go:253
↓ 1 callers
Method
recordFailure
recordFailure records a failed operation
challenge-20/submissions/odelbos/solution-template.go:228
↓ 1 callers
Method
recordFailure
recordFailure records a failed operation
challenge-20/submissions/hudazaan/solution-template.go:204
↓ 1 callers
Method
recordFailure
recordFailure records a failed operation
challenge-20/submissions/hvijaycse/solution-template.go:243
↓ 1 callers
Method
recordFailure
recordFailure records a failed operation
challenge-20/submissions/Kosench/solution-template.go:238
↓ 1 callers
Method
recordFailure
recordFailure records a failed operation
challenge-20/submissions/PopovMarko/solution-template.go:230
↓ 1 callers
Method
recordFailure
recordFailure records a failed operation
challenge-20/submissions/manik23/solution-template.go:259
↓ 1 callers
Method
recordFailure
recordFailure records a failed operation NOTE: Caller MUST hold write lock (mutex.Lock)
challenge-20/submissions/YounesBouchbouk/solution-template.go:234
↓ 1 callers
Method
recordFailure
recordFailure records a failed operation. It tracks consecutive failures and trips the circuit to Open if the threshold is met.
challenge-20/submissions/anhvu2001ct/solution-template.go:248
↓ 1 callers
Method
recordFailure
recordFailure records a failed operation
challenge-20/submissions/mvsouza/solution-template.go:225
↓ 1 callers
Method
recordFailure
()
challenge-20/submissions/mvsouza/solution-template.go:247
← previous
next →
4,801–4,900 of 12,886, ranked by callers