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
Size
Size returns the number of elements in the set
challenge-27/submissions/PopovMarko/solution-template.go:214
Method
Size
()
challenge-27/submissions/imankhodadi/solution-template.go:54
Method
Size
()
challenge-27/submissions/imankhodadi/solution-template.go:131
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/YounesBouchbouk/solution-template.go:88
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/YounesBouchbouk/solution-template.go:155
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/YounesBouchbouk/solution-template.go:233
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/mvsouza/solution-template.go:75
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/mvsouza/solution-template.go:129
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/mvsouza/solution-template.go:171
Method
Size
()
challenge-27/submissions/Ali-Fartoot/solution-template.go:57
Method
Size
()
challenge-27/submissions/Ali-Fartoot/solution-template.go:99
Method
Size
()
challenge-27/submissions/Ali-Fartoot/solution-template.go:132
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/mick4711/solution-template.go:89
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/mick4711/solution-template.go:147
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/mick4711/solution-template.go:193
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/cep-ter/solution-template.go:79
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/cep-ter/solution-template.go:134
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/cep-ter/solution-template.go:179
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/AkifhanIlgaz/solution-template.go:81
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/AkifhanIlgaz/solution-template.go:135
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/AkifhanIlgaz/solution-template.go:177
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/xyersh/solution-template.go:82
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/xyersh/solution-template.go:168
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/xyersh/solution-template.go:215
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/Johrespi/solution-template.go:82
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/Johrespi/solution-template.go:151
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/Johrespi/solution-template.go:207
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/grozdovk/solution-template.go:88
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/grozdovk/solution-template.go:149
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/grozdovk/solution-template.go:198
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/ashwinipatankar/solution-template.go:95
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/ashwinipatankar/solution-template.go:235
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/diyorich/solution-template.go:72
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/diyorich/solution-template.go:128
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/diyorich/solution-template.go:173
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/shansing/solution-template.go:77
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/shansing/solution-template.go:137
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/shansing/solution-template.go:180
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/KhaledMosaad/solution-template.go:92
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/KhaledMosaad/solution-template.go:160
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/KhaledMosaad/solution-template.go:218
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/t4e1/solution-template.go:80
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/t4e1/solution-template.go:144
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/t4e1/solution-template.go:199
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/maket12/solution-template.go:83
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/maket12/solution-template.go:141
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/maket12/solution-template.go:199
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/nzamulov/solution-template.go:169
Method
Size
Size returns the number of elements in the stack
challenge-27/submissions/Gandook/solution-template.go:84
Method
Size
Size returns the number of elements in the queue
challenge-27/submissions/Gandook/solution-template.go:144
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/Gandook/solution-template.go:186
Method
Size
Size returns the number of elements in the set
challenge-27/submissions/JackDalberg/solution-template.go:176
Method
Size
()
challenge-28/solution-template.go:13
Method
Size
()
challenge-28/submissions/odelbos/solution-template.go:15
Method
Size
()
challenge-28/submissions/odelbos/solution-template.go:109
Method
Size
()
challenge-28/submissions/odelbos/solution-template.go:205
Method
Size
()
challenge-28/submissions/odelbos/solution-template.go:334
Method
Size
()
challenge-28/submissions/odelbos/solution-template.go:391
Method
Size
Size returns the current number of items in the cache.
challenge-28/submissions/PopovMarko/solution-template.go:29
Method
Size
Size returns the number of entries currently in the cache.
challenge-28/submissions/PopovMarko/solution-template.go:222
Method
Size
Size returns the number of entries currently in the cache.
challenge-28/submissions/PopovMarko/solution-template.go:482
Method
Size
Size returns the number of entries currently in the cache.
challenge-28/submissions/PopovMarko/solution-template.go:652
Method
Size
Size acquires the lock and returns the current entry count.
challenge-28/submissions/PopovMarko/solution-template.go:738
Method
Size
()
challenge-28/submissions/imankhodadi/solution-template.go:14
Method
Size
()
challenge-28/submissions/imankhodadi/solution-template.go:164
Method
Size
()
challenge-28/submissions/imankhodadi/solution-template.go:371
Method
Size
()
challenge-28/submissions/imankhodadi/solution-template.go:487
Method
Size
()
challenge-28/submissions/imankhodadi/solution-template.go:531
Method
Size
()
challenge-28/submissions/mvsouza/solution-template.go:14
Method
Size
()
challenge-28/submissions/mvsouza/solution-template.go:382
Method
Size
()
challenge-28/submissions/PolinaSvet/solution-template.go:13
Method
Size
()
challenge-28/submissions/PolinaSvet/solution-template.go:177
Method
Size
()
challenge-28/submissions/PolinaSvet/solution-template.go:415
Method
Size
()
challenge-28/submissions/PolinaSvet/solution-template.go:584
Method
Size
()
challenge-28/submissions/PolinaSvet/solution-template.go:659
Method
Size
()
challenge-28/submissions/nzamulov/solution-template.go:186
Method
Size
()
challenge-28/submissions/nzamulov/solution-template.go:312
Method
Size
()
challenge-28/submissions/nzamulov/solution-template.go:399
Method
Size
()
challenge-28/submissions/nzamulov/solution-template.go:452
Function
SlowSort
Benchmark: % go test -bench=. -benchmem goos: darwin goarch: amd64 pkg: challenge cpu: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz BenchmarkSlowSort-8
challenge-16/submissions/odelbos/solution-template.go:29
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort) TODO: Optimize this function to be more efficient
challenge-16/submissions/Kosench/solution-template.go:11
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort)
challenge-16/submissions/PopovMarko/solution-template.go:10
Function
SlowSort
(data []int)
challenge-16/submissions/Hikitak/solution-template.go:9
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort) TODO: Optimize this function to be more efficient
challenge-16/submissions/manik23/solution-template.go:11
Function
SlowSort
(data []int)
challenge-16/submissions/imankhodadi/solution-template.go:9
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort) TODO: Optimize this function to be more efficient
challenge-16/submissions/YounesBouchbouk/solution-template.go:11
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort)
challenge-16/submissions/mvsouza/solution-template.go:11
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort) TODO: Optimize this function to be more efficient
challenge-16/submissions/Ali-Fartoot/solution-template.go:11
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort)
challenge-16/submissions/mick4711/solution-template.go:12
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort) TODO: Optimize this function to be more efficient
challenge-16/submissions/PolinaSvet/solution-template.go:12
Function
SlowSort
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkSlowSort$ challenge16 -count=1 goos: darwin goarch: arm64 pkg: challenge16
challenge-16/submissions/y1hao/solution-template.go:31
Function
SlowSort
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkSlowSort$ challenge16 -count=1 goos: darwin goarch: arm64 pkg: challenge16
challenge-16/submissions/AkifhanIlgaz/solution-template.go:31
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort) TODO: Optimize this function to be more efficient
challenge-16/submissions/awsl1110/solution-template.go:11
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort) TODO: Optimize this function to be more efficient
challenge-16/submissions/longbui98/solution-template.go:11
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort) TODO: Optimize this function to be more efficient
challenge-16/submissions/nzamulov/solution-template.go:10
Function
SlowSort
SlowSort sorts a slice of integers using a very inefficient algorithm (bubble sort) TODO: Optimize this function to be more efficient
challenge-16/submissions/kuzminprog/solution-template.go:11
Method
SortByArea
SortByArea sorts shapes by area in ascending or descending order
challenge-10/submissions/jrbarbati/solution-template.go:163
Method
SortByArea
SortByArea sorts shapes by area in ascending or descending order
challenge-10/submissions/odelbos/solution-template.go:145
Method
SortByArea
SortByArea sorts shapes by area in ascending or descending order
challenge-10/submissions/lyb88999/solution-template.go:187
Method
SortByArea
SortByArea sorts shapes by area in ascending or descending order
challenge-10/submissions/kiramux/solution-template.go:169
← previous
next →
9,101–9,200 of 12,886, ranked by callers