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
Method
GetUser
GetUser retrieves a user by ID from the database
packages/mongodb/challenge-1-connection-crud/submissions/RezaSi/solution.go:124
↓ 1 callers
Method
GetUser
GetUser retrieves a user by ID
challenge-14/submissions/nzamulov/solution-template.go:80
↓ 1 callers
Method
GetUser
(ctx context.Context, userID int64)
challenge-14/submissions/kuzminprog/solution-template.go:50
↓ 1 callers
Method
GetUserByID
(id int)
packages/gin/challenge-1-basic-routing/submissions/PolinaSvet/solution.go:215
↓ 1 callers
Function
GetUserRecommendations
GetUserRecommendations retrieves user recommendations based on similar interests
packages/gorm/challenge-4-advanced-queries/solution-template.go:89
↓ 1 callers
Function
GetUserWithPostsAndCompany
GetUserWithPostsAndCompany retrieves a user with both posts and company preloaded
packages/gorm/challenge-5-generics/solution-template.go:112
↓ 1 callers
Function
GetUsersWithCompany
GetUsersWithCompany retrieves users with their company information using enhanced joins
packages/gorm/challenge-5-generics/solution-template.go:100
↓ 1 callers
Function
GetUsersWithPosts
GetUsersWithPosts retrieves users with their posts using enhanced preloading
packages/gorm/challenge-5-generics/solution-template.go:106
↓ 1 callers
Method
HasCallbackUrl
(urlParam *url.URL)
challenge-15/submissions/mvsouza/solution-template.go:188
↓ 1 callers
Function
HighAllocationSearch
HighAllocationSearch searches for all occurrences of a substring and creates a map with their positions TODO: Optimize this function to reduce allocat
challenge-16/submissions/longbui98/solution-template.go:106
↓ 1 callers
Method
HitRate
()
challenge-28/solution-template.go:223
↓ 1 callers
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/solution-template.go:30
↓ 1 callers
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/Hikitak/solution-template.go:32
↓ 1 callers
Function
InitDB
(dbPath string)
challenge-13/submissions/imankhodadi/solution-template.go:26
↓ 1 callers
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/PolinaSvet/solution-template.go:32
↓ 1 callers
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/wgasparin/solution-template.go:32
↓ 1 callers
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/MaryNfs/solution-template.go:31
↓ 1 callers
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/berkkaradalan/solution-template.go:31
↓ 1 callers
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/solution-template.go:176
↓ 1 callers
Function
IsAlphaNumeric
(ch byte)
challenge-17/submissions/koki1610168/solution-template.go:52
↓ 1 callers
Method
IsEmpty
IsEmpty returns true if the stack contains no elements
challenge-27/submissions/ImHotDog/solution-template.go:92
↓ 1 callers
Method
IsEmpty
IsEmpty returns true if the queue contains no elements
challenge-27/submissions/ImHotDog/solution-template.go:152
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/jrbarbati/solution-template.go:30
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/odelbos/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/suminitgo/solution-template.go:25
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/hudazaan/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/hvijaycse/solution-template.go:33
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/Kosench/solution-template.go:25
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/PopovMarko/solution-template.go:33
↓ 1 callers
Function
IsPalindrome
(s string)
challenge-17/submissions/imankhodadi/solution-template.go:11
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/MYK12397/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
(s string)
challenge-17/submissions/azs0309/solution-template.go:24
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/jordanhimawan/solution-template.go:25
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/shivamarora1/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/Khabbab172/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/ZaharBorisenko/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/mvsouza/solution-template.go:25
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/lanmanul/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/Mxn-ptr/solution-template.go:19
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation. IsPalindrome
challenge-17/submissions/Ali-Fartoot/solution-template.go:29
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/mmzykin/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/mick4711/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/thevan96/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/adi041518/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/koki1610168/solution-template.go:25
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/y1hao/solution-template.go:25
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/cep-ter/solution-template.go:36
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/wgasparin/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/AkifhanIlgaz/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/tufstraka/solution-template.go:25
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/ImHotDog/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/Johrespi/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/grozdovk/solution-template.go:25
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/longbui98/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/miank1/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/amanabay/solution-template.go:28
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/skx/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/ashwinipatankar/solution-template.go:25
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/Lezhni/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/shansing/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/KhaledMosaad/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/RezaSi/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/t4e1/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/IBraveMonkey/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/onomica/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/nzamulov/solution-template.go:24
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/Cpoing/solution-template.go:36
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/Gandook/solution-template.go:26
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/JackDalberg/solution-template.go:25
↓ 1 callers
Function
IsPalindrome
IsPalindrome checks if a string is a palindrome. A palindrome reads the same backward as forward, ignoring case, spaces, and punctuation.
challenge-17/submissions/kuzminprog/solution-template.go:25
↓ 1 callers
Method
IsTokenValid
()
challenge-15/submissions/PolinaSvet/solution-template.go:970
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/odelbos/solution-template.go:60
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/hudazaan/solution-template.go:66
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/PopovMarko/solution-template.go:82
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/Hikitak/solution-template.go:38
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/mvsouza/solution-template.go:66
↓ 1 callers
Function
KMPSearch
KMPSearch реализует алгоритм Кнута-Морриса-Пратта для поиска паттерна в тексте. Возвращает набор всех начальных индексов, в которых найден паттерн
challenge-23/submissions/lanmanul/solution-template.go:71
↓ 1 callers
Function
KMPSearch
(text, pattern string)
challenge-23/submissions/Ali-Fartoot/solution-template.go:67
↓ 1 callers
Function
KMPSearch
(text, pattern string)
challenge-23/submissions/mick4711/solution-template.go:129
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/PolinaSvet/solution-template.go:73
↓ 1 callers
Function
KMPSearch
I gave up on KMP and the followings are copied from learning :) KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns
challenge-23/submissions/y1hao/solution-template.go:62
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/AkifhanIlgaz/solution-template.go:67
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/ashwinipatankar/solution-template.go:70
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/KhaledMosaad/solution-template.go:92
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/RezaSi/solution-template.go:64
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/maket12/solution-template.go:90
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/nzamulov/solution-template.go:58
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/Gandook/solution-template.go:73
↓ 1 callers
Function
KMPSearch
KMPSearch implements the Knuth-Morris-Pratt algorithm to find pattern in text. Returns a slice of all starting indices where the pattern is found.
challenge-23/submissions/JackDalberg/solution-template.go:69
↓ 1 callers
Function
KMPTable
(pattern string)
challenge-23/submissions/JackDalberg/solution-template.go:96
↓ 1 callers
Method
LargestShape
LargestShape finds the shape with the largest area
challenge-10/solution-template.go:127
↓ 1 callers
Method
LargestShape
(shapes []Shape)
challenge-10/submissions/imankhodadi/solution-template.go:106
↓ 1 callers
Method
LargestShape
(shapes []Shape)
challenge-10/submissions/abhishek15032000/solution-template.go:211
↓ 1 callers
Method
Len
()
challenge-25/submissions/imankhodadi/solution-template.go:102
↓ 1 callers
Method
ListProducts
ListProducts returns all products with optional filtering by category
challenge-13/solution-template.go:66
↓ 1 callers
Method
ListProducts
ListProducts returns all products with optional filtering by category
challenge-13/submissions/Hikitak/solution-template.go:140
↓ 1 callers
Method
ListProducts
(category string)
challenge-13/submissions/imankhodadi/solution-template.go:104
↓ 1 callers
Method
ListProducts
ListProducts returns all products with optional filtering by category
challenge-13/submissions/PolinaSvet/solution-template.go:162
↓ 1 callers
Method
ListProducts
ListProducts returns all products with optional filtering by category
challenge-13/submissions/wgasparin/solution-template.go:111
↓ 1 callers
Method
ListProducts
ListProducts returns all products with optional filtering by category
challenge-13/submissions/MaryNfs/solution-template.go:115
← previous
next →
2,901–3,000 of 12,886, ranked by callers