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
Function
ExpensiveCalculation
ExpensiveCalculation performs a computation with redundant work It computes the sum of all fibonacci numbers up to n TODO: Optimize this function to b
challenge-16/submissions/Ali-Fartoot/solution-template.go:81
Function
ExpensiveCalculation
ExpensiveCalculation performs a computation with redundant work It computes the sum of all fibonacci numbers up to n TODO: Optimize this function to b
challenge-16/submissions/mick4711/solution-template.go:110
Function
ExpensiveCalculation
ExpensiveCalculation performs a computation with redundant work It computes the sum of all fibonacci numbers up to n TODO: Optimize this function to b
challenge-16/submissions/PolinaSvet/solution-template.go:75
Function
ExpensiveCalculation
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkExpensiveCalculation$ challenge16 -count=1 goos: darwin goarch: arm64 pkg:
challenge-16/submissions/y1hao/solution-template.go:153
Function
ExpensiveCalculation
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkExpensiveCalculation$ challenge16 -count=1 goos: darwin goarch: arm64 pkg:
challenge-16/submissions/AkifhanIlgaz/solution-template.go:153
Function
ExpensiveCalculation
ExpensiveCalculation performs a computation with redundant work It computes the sum of all fibonacci numbers up to n TODO: Optimize this function to b
challenge-16/submissions/awsl1110/solution-template.go:73
Function
ExpensiveCalculation
ExpensiveCalculation performs a computation with redundant work It computes the sum of all fibonacci numbers up to n TODO: Optimize this function to b
challenge-16/submissions/nzamulov/solution-template.go:71
Function
ExpensiveCalculation
ExpensiveCalculation performs a computation with redundant work It computes the sum of all fibonacci numbers up to n TODO: Optimize this function to b
challenge-16/submissions/kuzminprog/solution-template.go:69
Method
Expired
()
challenge-15/submissions/mvsouza/solution-template.go:474
Function
ExtractEmails
ExtractEmails extracts all valid email addresses from a text
challenge-26/submissions/odelbos/solution-template.go:6
Function
ExtractEmails
ExtractEmails extracts all valid email addresses from a text
challenge-26/submissions/PopovMarko/solution-template.go:6
Function
ExtractEmails
(text string)
challenge-26/submissions/imankhodadi/solution-template.go:17
Function
ExtractEmails
ExtractEmails extracts all valid email addresses from a text
challenge-26/submissions/mvsouza/solution-template.go:8
Function
ExtractEmails
ExtractEmails extracts all valid email addresses from a text
challenge-26/submissions/mick4711/solution-template.go:9
Function
ExtractEmails
ExtractEmails extracts all valid email addresses from a text
challenge-26/submissions/PolinaSvet/solution-template.go:9
Function
ExtractEmails
ExtractEmails extracts all valid email addresses from a text
challenge-26/submissions/KhaledMosaad/solution-template.go:9
Function
ExtractEmails
ExtractEmails extracts all valid email addresses from a text
challenge-26/submissions/nzamulov/solution-template.go:13
Function
ExtractEmails
ExtractEmails extracts all valid email addresses from a text
challenge-26/submissions/Gandook/solution-template.go:9
Function
ExtractURLs
ExtractURLs extracts all valid URLs from a text
challenge-26/submissions/odelbos/solution-template.go:59
Function
ExtractURLs
ExtractURLs extracts all valid URLs from a text
challenge-26/submissions/PopovMarko/solution-template.go:66
Function
ExtractURLs
(text string)
challenge-26/submissions/imankhodadi/solution-template.go:75
Function
ExtractURLs
ExtractURLs extracts all valid URLs from a text
challenge-26/submissions/mvsouza/solution-template.go:74
Function
ExtractURLs
ExtractURLs extracts all valid URLs from a text
challenge-26/submissions/mick4711/solution-template.go:81
Function
ExtractURLs
ExtractURLs extracts all valid URLs from a text
challenge-26/submissions/PolinaSvet/solution-template.go:92
Function
ExtractURLs
ExtractURLs extracts all valid URLs from a text
challenge-26/submissions/KhaledMosaad/solution-template.go:108
Function
ExtractURLs
ExtractURLs extracts all valid URLs from a text
challenge-26/submissions/nzamulov/solution-template.go:67
Function
ExtractURLs
ExtractURLs extracts all valid URLs from a text
challenge-26/submissions/Gandook/solution-template.go:83
Function
FahrenheitToCelsius
(fahrenheit float64)
challenge-18/submissions/Seokky/solution-template.go:12
Method
Fetch
(ctx context.Context, url string)
challenge-11/solution-template_test.go:41
Method
Fetch
(ctx context.Context, url string)
challenge-11/solution-template.go:13
Method
Fetch
(ctx context.Context, url string)
challenge-11/submissions/odelbos/solution-template.go:20
Method
Fetch
Fetch retrieves content from a URL via HTTP
challenge-11/submissions/odelbos/solution-template.go:230
Method
Fetch
(ctx context.Context, url string)
challenge-11/submissions/Kosench/solution-template.go:20
Method
Fetch
Fetch retrieves content from a URL via HTTP
challenge-11/submissions/Kosench/solution-template.go:266
Method
Fetch
(ctx context.Context, url string)
challenge-11/submissions/PopovMarko/solution-template.go:23
Method
Fetch
Fetch issues an HTTP GET against url using the configured client and returns the response body bytes. It returns an error if the request cannot be co
challenge-11/submissions/PopovMarko/solution-template.go:272
Method
Fetch
(ctx context.Context, url string)
challenge-11/submissions/imankhodadi/solution-template.go:21
Method
Fetch
(ctx context.Context, url string)
challenge-11/submissions/imankhodadi/solution-template.go:158
Method
Fetch
(ctx context.Context, url string)
challenge-11/submissions/mvsouza/solution-template.go:22
Method
Fetch
Fetch retrieves content from a URL via HTTP
challenge-11/submissions/mvsouza/solution-template.go:203
Method
Fetch
(ctx context.Context, url string)
challenge-11/submissions/PolinaSvet/solution-template.go:20
Method
Fetch
Fetch retrieves content from a URL via HTTP
challenge-11/submissions/PolinaSvet/solution-template.go:206
Method
Fetch
(ctx context.Context, url string)
challenge-11/submissions/nzamulov/solution-template.go:21
Method
Fetch
Fetch retrieves content from a URL via HTTP
challenge-11/submissions/nzamulov/solution-template.go:259
Method
Fetch
Fetch retrieves content from a URL via HTTP
challenge-11/submissions/Cpoing/solution-template.go:227
Method
FetchAndProcess
FetchAndProcess concurrently fetches and processes content from multiple URLs
challenge-11/submissions/odelbos/solution-template.go:74
Method
FetchAndProcess
FetchAndProcess concurrently fetches and processes content from multiple URLs
challenge-11/submissions/Kosench/solution-template.go:85
Method
FetchAndProcess
FetchAndProcess fetches and processes each URL concurrently and returns the successfully-processed results. The returned slice contains every Process
challenge-11/submissions/PopovMarko/solution-template.go:106
Method
FetchAndProcess
FetchAndProcess concurrently fetches and processes content from multiple URLs
challenge-11/submissions/mvsouza/solution-template.go:68
Method
FetchAndProcess
FetchAndProcess concurrently fetches and processes content from multiple URLs
challenge-11/submissions/nzamulov/solution-template.go:129
Method
FetchAndProcess
FetchAndProcess concurrently fetches and processes content from multiple URLs
challenge-11/submissions/Cpoing/solution-template.go:72
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/jrbarbati/solution-template.go:253
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/odelbos/solution-template.go:217
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/kiramux/solution-template.go:233
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/hvijaycse/solution-template.go:250
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/PopovMarko/solution-template.go:286
Function
Filter
5. Generic Utility Functions
challenge-27/submissions/imankhodadi/solution-template.go:174
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/YounesBouchbouk/solution-template.go:285
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/mvsouza/solution-template.go:228
Function
Filter
============================================================================ 5. Generic Utility Functions ============================================
challenge-27/submissions/Ali-Fartoot/solution-template.go:179
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/mick4711/solution-template.go:261
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/PolinaSvet/solution-template.go:303
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/y1hao/solution-template.go:224
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/cep-ter/solution-template.go:231
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/AkifhanIlgaz/solution-template.go:232
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/xyersh/solution-template.go:268
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/ImHotDog/solution-template.go:266
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/Johrespi/solution-template.go:279
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/grozdovk/solution-template.go:261
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/ashwinipatankar/solution-template.go:301
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/diyorich/solution-template.go:226
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/shansing/solution-template.go:240
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/KhaledMosaad/solution-template.go:280
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/t4e1/solution-template.go:257
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/maket12/solution-template.go:256
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/nzamulov/solution-template.go:221
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/Gandook/solution-template.go:238
Function
Filter
5. Generic Utility Functions Filter returns a new slice containing only the elements for which the predicate returns true
challenge-27/submissions/JackDalberg/solution-template.go:225
Method
FilterProducts
FilterProducts applies complex multi-field filtering
packages/mongodb/challenge-2-queries-filtering/solution-template.go:177
Method
FindEmployeeByID
(id int)
challenge-3/submissions/ahmedpyarali2/solution-template.go:40
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/jrbarbati/solution-template.go:297
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/odelbos/solution-template.go:251
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/kiramux/solution-template.go:272
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/hvijaycse/solution-template.go:292
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/PopovMarko/solution-template.go:320
Function
FindIndex
(slice []T, element T)
challenge-27/submissions/imankhodadi/solution-template.go:207
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/YounesBouchbouk/solution-template.go:331
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/mvsouza/solution-template.go:267
Function
FindIndex
(slice []T, element T)
challenge-27/submissions/Ali-Fartoot/solution-template.go:214
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/mick4711/solution-template.go:301
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/PolinaSvet/solution-template.go:356
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/y1hao/solution-template.go:257
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/cep-ter/solution-template.go:270
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/AkifhanIlgaz/solution-template.go:274
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/xyersh/solution-template.go:307
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/ImHotDog/solution-template.go:306
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/Johrespi/solution-template.go:327
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/grozdovk/solution-template.go:303
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/ashwinipatankar/solution-template.go:347
Function
FindIndex
FindIndex returns the index of the first occurrence of the given element or -1 if not found
challenge-27/submissions/diyorich/solution-template.go:271
← previous
next →
6,701–6,800 of 12,886, ranked by callers