MCPcopy Create free account

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

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

↓ 1 callersFunctionisValidSlug
TODO: Implement slug format validator
packages/gin/challenge-3-validation-errors/submissions/sweet-boby/solution.go:119
↓ 1 callersFunctionisValidSubsequence
Helper function to check if a sequence is a valid subsequence of another
challenge-24/solution-template_test.go:156
↓ 1 callersFunctionisValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/solution-template.go:112
↓ 1 callersFunctionisValidWarehouseCode
Format should be WH### (e.g., WH001, WH002)
packages/gin/challenge-3-validation-errors/submissions/odelbos/solution.go:116
↓ 1 callersFunctionisValidWarehouseCode
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 callersFunctionisValidWarehouseCode
(code string)
packages/gin/challenge-3-validation-errors/submissions/imankhodadi/solution.go:118
↓ 1 callersFunctionisValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/yogtanko/solution.go:139
↓ 1 callersFunctionisValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/Mxn-ptr/solution.go:125
↓ 1 callersFunctionisValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/PolinaSvet/solution.go:123
↓ 1 callersFunctionisValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/22-7-co/solution.go:141
↓ 1 callersFunctionisValidWarehouseCode
Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/q1ngy/solution.go:131
↓ 1 callersFunctionisValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/ItalloMangueBoy/solution.go:127
↓ 1 callersFunctionisValidWarehouseCode
returns true if the warehouse is in validWarehouses
packages/gin/challenge-3-validation-errors/submissions/father-frog/solution.go:138
↓ 1 callersFunctionisValidWarehouseCode
TODO: Implement warehouse code validator
packages/gin/challenge-3-validation-errors/submissions/sweet-boby/solution.go:127
↓ 1 callersFunctionjoinErrors
Join all errors into one
challenge-11/submissions/mvsouza/solution-template.go:84
↓ 1 callersFunctionlimitersCleanup
(ctx context.Context)
packages/gin/challenge-2-middleware/submissions/PopovMarko/solution.go:448
↓ 1 callersMethodloadChallengeDetails
loadChallengeDetails dynamically loads metadata for each challenge in the learning path
web-ui/internal/services/package.go:140
↓ 1 callersMethodloadChallenges
(packagePath string)
web-ui/internal/services/package.go:302
↓ 1 callersFunctionloadEnvFile
loadEnvFile loads environment variables from a .env file
web-ui/main.go:68
↓ 1 callersFunctionloadEnvFromFile
(filename string)
web-ui/main.go:80
↓ 1 callersMethodloadHighlights
()
web-ui/static/js/main.js:337
↓ 1 callersMethodloadPackage
(packagePath, packageName string)
web-ui/internal/services/package.go:89
↓ 1 callersMethodloadScoreboardForChallenge
loadScoreboardForChallenge loads the scoreboard for a specific challenge
web-ui/internal/services/scoreboard.go:35
↓ 1 callersMethodloadSingleChallenge
loadSingleChallenge loads a single challenge from a directory
web-ui/internal/services/challenge.go:62
↓ 1 callersFunctionload_sponsors
Load sponsor list by scraping the public GitHub sponsors page.
scripts/generate_package_scoreboard.py:14
↓ 1 callersFunctionload_sponsors
Load sponsor list by scraping the public GitHub sponsors page.
scripts/generate_main_scoreboard.py:67
↓ 1 callersFunctionlongestProperPrefix
(pattern string)
challenge-23/submissions/odelbos/solution-template.go:88
↓ 1 callersFunctionmain
Main test function.
scripts/test_scoreboards.py:130
↓ 1 callersFunctionmain
Main function to generate and update the package scoreboard.
scripts/generate_package_scoreboard.py:442
↓ 1 callersFunctionmain
Main function to update all scoreboards.
scripts/update_all_scoreboards.py:40
↓ 1 callersFunctionmain
Main function to generate and update the scoreboard.
scripts/generate_main_scoreboard.py:388
↓ 1 callersFunctionmarkReachableFromCycle
(graph [][]int, start int, distances []int, hasPath []bool, visited []bool)
challenge-25/submissions/PolinaSvet/solution-template.go:216
↓ 1 callersFunctionmarkdownToHTML
Simple markdown to HTML converter
web-ui/internal/utils/templates.go:12
↓ 1 callersFunctionmin
(i,j int)
challenge-22/submissions/himanshum9/solution-template.go:56
↓ 1 callersFunctionmyFib
myFib computes the fibbonaci num at n myFib(1) = 1 myFib(0) = 0
challenge-16/submissions/manik23/solution-template.go:153
↓ 1 callersFunctionnaiveCheck
(text, pattern string, ind int)
challenge-23/submissions/Gandook/solution-template.go:46
↓ 1 callersFunctionnewClient
(username string, server *ChatServer)
challenge-8/submissions/Kosench/solution-template.go:38
↓ 1 callersFunctionnewClient
Client constructor returns *Client
challenge-8/submissions/PopovMarko/solution-template.go:22
↓ 1 callersFunctionnewFIFONode
newFIFONode allocates a new FIFONode with the given key and value.
challenge-28/submissions/PopovMarko/solution-template.go:538
↓ 1 callersFunctionnewFreqGroup
newFreqGroup allocates a new empty FreqGroup for the given access frequency.
challenge-28/submissions/PopovMarko/solution-template.go:301
↓ 1 callersFunctionnewLFUNode
newLFUNode allocates a new LFUNode with frequency 1 (all new entries start at 1).
challenge-28/submissions/PopovMarko/solution-template.go:292
↓ 1 callersFunctionnewLRUNode
newLRUNode allocates a new LRUNode with the given key and value.
challenge-28/submissions/PopovMarko/solution-template.go:90
↓ 1 callersFunctionnextHash
(h int, factor int, first, current byte)
challenge-23/submissions/y1hao/solution-template.go:171
↓ 1 callersFunctionnormalize
(s string)
challenge-17/submissions/Cpoing/solution-template.go:24
↓ 1 callersFunctionnormalizeString
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 callersFunctionnormalizeString
(str string)
challenge-17/submissions/IBraveMonkey/solution-template.go:43
↓ 1 callersMethodnotifyWaiters
()
challenge-29/submissions/PolinaSvet/solution-template.go:81
↓ 1 callersMethodonDisconnection
()
challenge-8/submissions/JackDalberg/solution-template.go:44
↓ 1 callersFunctionoptimizedFibonacci
(n int)
challenge-16/submissions/PolinaSvet/solution-template.go:115
↓ 1 callersMethodparseAIResponse
parseAIResponse parses the AI response into a structured review
web-ui/internal/services/ai.go:665
↓ 1 callersMethodparseHint
parseHint extracts hint from AI response
web-ui/internal/services/ai.go:778
↓ 1 callersMethodparseQuestions
parseQuestions parses questions from AI response
web-ui/internal/services/ai.go:757
↓ 1 callersMethodparseScoreboardMarkdown
parseScoreboardMarkdown parses the scoreboard markdown table
web-ui/internal/services/scoreboard.go:48
↓ 1 callersMethodparseTestResults
parseTestResults parses Go test output to count passed and total tests
web-ui/internal/handlers/api.go:915
↓ 1 callersFunctionparse_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 callersFunctionparse_scoreboard_file
Parse a SCOREBOARD.md file and extract usernames who completed the challenge (passed ALL tests).
scripts/generate_main_scoreboard.py:14
↓ 1 callersFunctionpartition
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 callersFunctionperformBFS
(graph map[int][]int, start int)
challenge-4/submissions/shapoclack/solution-template.go:76
↓ 1 callersFunctionping
Handler ======================================================================= TODO: Implement route handlers ping handles GET /ping - health check e
packages/gin/challenge-2-middleware/submissions/PolinaSvet/solution.go:333
↓ 1 callersFunctionpow
(a, b int64)
challenge-23/submissions/Gandook/solution-template.go:122
↓ 1 callersFunctionprepareText
(input string)
challenge-17/submissions/PolinaSvet/solution-template.go:39
↓ 1 callersFunctionprocess
(graph map[int][]int, jobs <-chan int, resultBFS chan reachableNode)
challenge-4/submissions/manik23/solution-template.go:14
↓ 1 callersMethodprocessHtml
(result *ProcessedData, doc *html.Node)
challenge-11/submissions/mvsouza/solution-template.go:270
↓ 1 callersFunctionprocessItem
(item string)
challenge-30/submissions/cep-ter/solution-template.go:114
↓ 1 callersMethodprocessURL
===== Helper method for processing a single URL =====
challenge-11/submissions/Kosench/solution-template.go:219
↓ 1 callersMethodpruneFreqGroup
(freq int)
challenge-28/submissions/imankhodadi/solution-template.go:345
↓ 1 callersFunctionquery
(graph map[int][]int, start int)
challenge-4/submissions/wxai2324/solution-template.go:51
↓ 1 callersFunctionquickSort
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 callersMethodreachedMaxRequests
()
challenge-20/submissions/mvsouza/solution-template.go:202
↓ 1 callersMethodreachedTimeout
()
challenge-20/submissions/mvsouza/solution-template.go:198
↓ 1 callersFunctionreadDirectory
readDirectory reads files from directory and returns FileInfo slice
packages/cobra/challenge-2-flags-args/submissions/odelbos/solution.go:295
↓ 1 callersFunctionreadDirectory
readDirectory reads files from directory and returns FileInfo slice
packages/cobra/challenge-2-flags-args/submissions/PopovMarko/solution.go:295
↓ 1 callersFunctionreadDirectory
readDirectory reads files from directory and returns FileInfo slice
packages/cobra/challenge-2-flags-args/submissions/PolinaSvet/solution.go:295
↓ 1 callersFunctionreadDirectory
readDirectory reads files from directory and returns FileInfo slice
packages/cobra/challenge-2-flags-args/submissions/ashwinipatankar/solution.go:295
↓ 1 callersFunctionreadDirectory
readDirectory reads files from directory and returns FileInfo slice
packages/cobra/challenge-2-flags-args/submissions/RezaSi/solution.go:295
↓ 1 callersMethodrecomputeMinFreq
()
challenge-28/submissions/imankhodadi/solution-template.go:352
↓ 1 callersFunctionrecordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/solution-template.go:164
↓ 1 callersFunctionrecordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/BrianHuang813/solution.go:257
↓ 1 callersFunctionrecordFailedAttempt
(user *User)
packages/gin/challenge-4-authentication/submissions/odelbos/solution.go:240
↓ 1 callersFunctionrecordFailedAttempt
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 callersFunctionrecordFailedAttempt
(user *User)
packages/gin/challenge-4-authentication/submissions/imankhodadi/solution.go:256
↓ 1 callersFunctionrecordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/yogtanko/solution.go:307
↓ 1 callersFunctionrecordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/Mxn-ptr/solution.go:227
↓ 1 callersFunctionrecordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/PolinaSvet/solution.go:282
↓ 1 callersFunctionrecordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/22-7-co/solution.go:245
↓ 1 callersFunctionrecordFailedAttempt
Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/q1ngy/solution.go:236
↓ 1 callersFunctionrecordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/ItalloMangueBoy/solution.go:273
↓ 1 callersFunctionrecordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/law-lee/solution.go:242
↓ 1 callersFunctionrecordFailedAttempt
recordFailedAttempt increments failed attempts, locks account if max attempts reached
packages/gin/challenge-4-authentication/submissions/father-frog/solution.go:312
↓ 1 callersFunctionrecordFailedAttempt
TODO: Implement failed attempt tracking
packages/gin/challenge-4-authentication/submissions/sweet-boby/solution.go:253
↓ 1 callersMethodrecordFailure
recordFailure records a failed operation
challenge-20/submissions/odelbos/solution-template.go:228
↓ 1 callersMethodrecordFailure
recordFailure records a failed operation
challenge-20/submissions/hudazaan/solution-template.go:204
↓ 1 callersMethodrecordFailure
recordFailure records a failed operation
challenge-20/submissions/hvijaycse/solution-template.go:243
↓ 1 callersMethodrecordFailure
recordFailure records a failed operation
challenge-20/submissions/Kosench/solution-template.go:238
↓ 1 callersMethodrecordFailure
recordFailure records a failed operation
challenge-20/submissions/PopovMarko/solution-template.go:230
↓ 1 callersMethodrecordFailure
recordFailure records a failed operation
challenge-20/submissions/manik23/solution-template.go:259
↓ 1 callersMethodrecordFailure
recordFailure records a failed operation NOTE: Caller MUST hold write lock (mutex.Lock)
challenge-20/submissions/YounesBouchbouk/solution-template.go:234
↓ 1 callersMethodrecordFailure
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 callersMethodrecordFailure
recordFailure records a failed operation
challenge-20/submissions/mvsouza/solution-template.go:225
↓ 1 callersMethodrecordFailure
()
challenge-20/submissions/mvsouza/solution-template.go:247
← previousnext →4,801–4,900 of 12,886, ranked by callers