MCPcopy Create free account

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

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

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