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
Method
HitRate
HitRate returns the fraction of Get calls that found a key (between 0.0 and 1.0). Returns 0.0 when no Get calls have been made yet.
challenge-28/submissions/PopovMarko/solution-template.go:233
Method
HitRate
HitRate returns the fraction of Get calls that found a key (between 0.0 and 1.0). Returns 0.0 when no Get calls have been made yet.
challenge-28/submissions/PopovMarko/solution-template.go:493
Method
HitRate
HitRate returns the fraction of Get calls that found a key (between 0.0 and 1.0). Returns 0.0 when no Get calls have been made yet.
challenge-28/submissions/PopovMarko/solution-template.go:663
Method
HitRate
HitRate acquires the lock and returns the underlying cache's hit rate.
challenge-28/submissions/PopovMarko/solution-template.go:752
Method
HitRate
fixed maximum
challenge-28/submissions/imankhodadi/solution-template.go:16
Method
HitRate
()
challenge-28/submissions/imankhodadi/solution-template.go:170
Method
HitRate
()
challenge-28/submissions/imankhodadi/solution-template.go:377
Method
HitRate
()
challenge-28/submissions/imankhodadi/solution-template.go:494
Method
HitRate
()
challenge-28/submissions/imankhodadi/solution-template.go:541
Method
HitRate
()
challenge-28/submissions/mvsouza/solution-template.go:16
Method
HitRate
()
challenge-28/submissions/mvsouza/solution-template.go:38
Method
HitRate
()
challenge-28/submissions/mvsouza/solution-template.go:394
Method
HitRate
()
challenge-28/submissions/PolinaSvet/solution-template.go:15
Method
HitRate
()
challenge-28/submissions/PolinaSvet/solution-template.go:190
Method
HitRate
()
challenge-28/submissions/PolinaSvet/solution-template.go:428
Method
HitRate
()
challenge-28/submissions/PolinaSvet/solution-template.go:597
Method
HitRate
()
challenge-28/submissions/PolinaSvet/solution-template.go:673
Method
HitRate
()
challenge-28/submissions/nzamulov/solution-template.go:194
Method
HitRate
()
challenge-28/submissions/nzamulov/solution-template.go:320
Method
HitRate
()
challenge-28/submissions/nzamulov/solution-template.go:407
Method
HitRate
()
challenge-28/submissions/nzamulov/solution-template.go:462
Method
HomePage
HomePage renders the home page with a list of challenges
web-ui/internal/handlers/web.go:48
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating TODO: Optimize this function to be more efficient
challenge-16/submissions/odelbos/solution-template.go:55
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating TODO: Optimize this function to be more efficient
challenge-16/submissions/Kosench/solution-template.go:39
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating
challenge-16/submissions/PopovMarko/solution-template.go:39
Function
InefficientStringBuilder
(parts []string, repeatCount int)
challenge-16/submissions/Hikitak/solution-template.go:29
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating TODO: Optimize this function to be more efficient
challenge-16/submissions/manik23/solution-template.go:97
Function
InefficientStringBuilder
(parts []string, repeatCount int)
challenge-16/submissions/imankhodadi/solution-template.go:28
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating TODO: Optimize this function to be more efficient
challenge-16/submissions/YounesBouchbouk/solution-template.go:41
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating
challenge-16/submissions/mvsouza/solution-template.go:38
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating TODO: Optimize this function to be more efficient
challenge-16/submissions/Ali-Fartoot/solution-template.go:44
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating
challenge-16/submissions/mick4711/solution-template.go:61
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating TODO: Optimize this function to be more efficient
challenge-16/submissions/PolinaSvet/solution-template.go:40
Function
InefficientStringBuilder
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkInefficientStringBuilder$ challenge16 -count=1 goos: darwin goarch: arm64 p
challenge-16/submissions/y1hao/solution-template.go:94
Function
InefficientStringBuilder
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkInefficientStringBuilder$ challenge16 -count=1 goos: darwin goarch: arm64 p
challenge-16/submissions/AkifhanIlgaz/solution-template.go:94
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating TODO: Optimize this function to be more efficient
challenge-16/submissions/awsl1110/solution-template.go:39
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating TODO: Optimize this function to be more efficient
challenge-16/submissions/longbui98/solution-template.go:39
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating TODO: Optimize this function to be more efficient
challenge-16/submissions/nzamulov/solution-template.go:38
Function
InefficientStringBuilder
InefficientStringBuilder builds a string by repeatedly concatenating TODO: Optimize this function to be more efficient
challenge-16/submissions/kuzminprog/solution-template.go:40
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/jrbarbati/solution-template.go:41
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/odelbos/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/lyb88999/solution-template.go:31
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/kiramux/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/Kosench/solution-template.go:31
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/PopovMarko/solution-template.go:31
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/manik23/solution-template.go:31
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/sutthiphong2005/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/shivamarora1/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/mvsouza/solution-template.go:31
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/Mxn-ptr/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/Ali-Fartoot/solution-template.go:32
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/mick4711/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/y1hao/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/DavidCao22/solution-template.go:35
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/inok94/solution-template.go:31
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/muhammedkucukaslan/solution-template.go:31
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/Johrespi/solution-template.go:31
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/grozdovk/solution-template.go:31
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/blxxdclxud/solution-template.go:32
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/ashwinipatankar/solution-template.go:31
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/KhaledMosaad/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/RezaSi/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/t4e1/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/Onkar-25/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/nzamulov/solution-template.go:44
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/Cpoing/solution-template.go:30
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/Gandook/solution-template.go:29
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/SemenTretyakov/solution-template.go:28
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/JackDalberg/solution-template.go:29
Function
InitDB
InitDB sets up a new SQLite database and creates the products table
challenge-13/submissions/kuzminprog/solution-template.go:31
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/jrbarbati/solution-template.go:223
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/odelbos/solution-template.go:191
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/kiramux/solution-template.go:207
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/hvijaycse/solution-template.go:220
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/PopovMarko/solution-template.go:250
Function
Intersection
(s1, s2 *Set[T])
challenge-27/submissions/imankhodadi/solution-template.go:154
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/YounesBouchbouk/solution-template.go:258
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/mvsouza/solution-template.go:197
Function
Intersection
(s1, s2 *Set[T])
challenge-27/submissions/Ali-Fartoot/solution-template.go:155
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/mick4711/solution-template.go:223
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/PolinaSvet/solution-template.go:269
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/y1hao/solution-template.go:198
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/cep-ter/solution-template.go:205
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/AkifhanIlgaz/solution-template.go:204
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/xyersh/solution-template.go:242
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/ImHotDog/solution-template.go:225
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/Johrespi/solution-template.go:246
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/grozdovk/solution-template.go:229
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/ashwinipatankar/solution-template.go:269
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/diyorich/solution-template.go:197
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/shansing/solution-template.go:206
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/KhaledMosaad/solution-template.go:249
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/t4e1/solution-template.go:231
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/maket12/solution-template.go:226
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/nzamulov/solution-template.go:195
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/Gandook/solution-template.go:212
Function
Intersection
Intersection returns a new set containing only elements that exist in both sets
challenge-27/submissions/JackDalberg/solution-template.go:199
Method
InterviewPage
InterviewPage renders the interview simulator setup and runner
web-ui/internal/handlers/web.go:331
Method
IsEmpty
IsEmpty returns true if the queue contains no elements
challenge-27/solution-template.go:121
Method
IsEmpty
IsEmpty returns true if the stack contains no elements
challenge-27/submissions/jrbarbati/solution-template.go:89
← previous
next →
7,401–7,500 of 12,886, ranked by callers