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
NewStack
NewStack creates a new empty stack
challenge-27/submissions/t4e1/solution-template.go:41
Function
NewStack
NewStack creates a new empty stack
challenge-27/submissions/maket12/solution-template.go:44
Function
NewStack
NewStack creates a new empty stack
challenge-27/submissions/nzamulov/solution-template.go:44
Function
NewStack
NewStack creates a new empty stack
challenge-27/submissions/Gandook/solution-template.go:45
Function
NewStack
NewStack creates a new empty stack
challenge-27/submissions/JackDalberg/solution-template.go:38
Function
NewThreadSafeCacheWithPolicy
NewThreadSafeCacheWithPolicy creates a thread-safe cache with the specified policy
challenge-28/submissions/odelbos/solution-template.go:428
Function
NewThreadSafeCacheWithPolicy
NewThreadSafeCacheWithPolicy creates a thread-safe Cache using the given eviction policy and capacity. Returns nil for non-positive capacity. Unrecogn
challenge-28/submissions/PopovMarko/solution-template.go:782
Function
NewThreadSafeCacheWithPolicy
NewThreadSafeCacheWithPolicy creates a thread-safe cache with the specified policy
challenge-28/submissions/imankhodadi/solution-template.go:562
Function
NewThreadSafeCacheWithPolicy
NewThreadSafeCacheWithPolicy creates a thread-safe cache with the specified policy
challenge-28/submissions/mvsouza/solution-template.go:419
Function
NewThreadSafeCacheWithPolicy
NewThreadSafeCacheWithPolicy creates a thread-safe cache with the specified policy
challenge-28/submissions/PolinaSvet/solution-template.go:705
Function
NewThreadSafeCacheWithPolicy
NewThreadSafeCacheWithPolicy creates a thread-safe cache with the specified policy
challenge-28/submissions/nzamulov/solution-template.go:487
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/jrbarbati/solution-template.go:91
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/odelbos/solution-template.go:83
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/lyb88999/solution-template.go:103
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/kiramux/solution-template.go:96
Function
NewTriangle
NewTriangle creates a new Triangle with validation. Returns an error if any side is not positive or if the triangle inequality is violated.
challenge-10/submissions/Kosench/solution-template.go:96
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/PopovMarko/solution-template.go:119
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/BroQi/solution-template.go:83
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/mihir1737/solution-template.go:87
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Hikitak/solution-template.go:81
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/azs0309/solution-template.go:105
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/mvsouza/solution-template.go:92
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Mxn-ptr/solution-template.go:84
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Ali-Fartoot/solution-template.go:93
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/mick4711/solution-template.go:101
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/ne0phyte/solution-template.go:84
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/PolinaSvet/solution-template.go:93
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/y1hao/solution-template.go:88
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/wgasparin/solution-template.go:86
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/AkifhanIlgaz/solution-template.go:83
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/brenoamin/solution-template.go:85
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/ImHotDog/solution-template.go:94
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/awsl1110/solution-template.go:87
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Johrespi/solution-template.go:101
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/grozdovk/solution-template.go:97
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/longbui98/solution-template.go:96
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/0xSangeet/solution-template.go:70
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/amanabay/solution-template.go:89
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/110Aakif/solution-template.go:89
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/ashwinipatankar/solution-template.go:103
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/shansing/solution-template.go:83
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/RezaSi/solution-template.go:91
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/sreehari-k-19/solution-template.go:86
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/t4e1/solution-template.go:101
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/law-lee/solution-template.go:95
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/nzamulov/solution-template.go:95
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Cpoing/solution-template.go:99
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Gandook/solution-template.go:86
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/JackDalberg/solution-template.go:83
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/kuzminprog/solution-template.go:107
Function
NewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/ahmedpyarali2/solution-template.go:86
Function
NewUserService
NewUserService creates a new user service
web-ui/internal/services/user.go:22
Function
NewUserServiceClient
(conn *grpc.ClientConn)
challenge-14/submissions/longbui98/solution-template.go:403
Function
NewWebHandler
NewWebHandler creates a new web handler
web-ui/internal/handlers/web.go:31
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/odelbos/solution-template.go:111
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/Kosench/solution-template.go:101
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation
challenge-16/submissions/PopovMarko/solution-template.go:84
Function
OptimizedCalculation
(n int)
challenge-16/submissions/Hikitak/solution-template.go:72
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/manik23/solution-template.go:171
Function
OptimizedCalculation
(n int)
challenge-16/submissions/imankhodadi/solution-template.go:68
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/YounesBouchbouk/solution-template.go:116
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/mvsouza/solution-template.go:92
Function
OptimizedCalculation
OptimizedCalculation uses dynamic programming to avoid redundant calculations Instead of recalculating fibonacci numbers, we compute them iteratively
challenge-16/submissions/Ali-Fartoot/solution-template.go:104
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/mick4711/solution-template.go:133
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/PolinaSvet/solution-template.go:98
Function
OptimizedCalculation
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkOptimizedCalculation$ challenge16 -count=1 goos: darwin goarch: arm64 pkg:
challenge-16/submissions/y1hao/solution-template.go:195
Function
OptimizedCalculation
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkOptimizedCalculation$ challenge16 -count=1 goos: darwin goarch: arm64 pkg:
challenge-16/submissions/AkifhanIlgaz/solution-template.go:195
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/awsl1110/solution-template.go:96
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/longbui98/solution-template.go:98
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/nzamulov/solution-template.go:94
Function
OptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/kuzminprog/solution-template.go:92
Function
OptimizedFibonacci
Linear complexity with iteration
challenge-16/submissions/YounesBouchbouk/solution-template.go:101
Function
OptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch It should produce identical results but perform better with fewer allocations
challenge-16/submissions/odelbos/solution-template.go:158
Function
OptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch It should produce identical results but perform better with fewer allocations
challenge-16/submissions/Kosench/solution-template.go:145
Function
OptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch
challenge-16/submissions/PopovMarko/solution-template.go:123
Function
OptimizedSearch
(text, substr string)
challenge-16/submissions/Hikitak/solution-template.go:103
Function
OptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch It should produce identical results but perform better with fewer allocations
challenge-16/submissions/manik23/solution-template.go:214
Function
OptimizedSearch
(text, substr string)
challenge-16/submissions/imankhodadi/solution-template.go:99
Function
OptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch It should produce identical results but perform better with fewer allocations
challenge-16/submissions/YounesBouchbouk/solution-template.go:162
Function
OptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch It should produce identical results but perform better with fewer allocations
challenge-16/submissions/mvsouza/solution-template.go:151
Function
OptimizedSearch
OptimizedSearch reduces allocations by avoiding temporary string creation and using more efficient string comparison methods
challenge-16/submissions/Ali-Fartoot/solution-template.go:154
Function
OptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch It should produce identical results but perform better with fewer allocations
challenge-16/submissions/mick4711/solution-template.go:225
Function
OptimizedSearch
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkOptimizedSearch$ challenge16 -count=1 goos: darwin goarch: arm64 pkg: chall
challenge-16/submissions/y1hao/solution-template.go:276
Function
OptimizedSearch
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkOptimizedSearch$ challenge16 -count=1 goos: darwin goarch: arm64 pkg: chall
challenge-16/submissions/AkifhanIlgaz/solution-template.go:276
Function
OptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch It should produce identical results but perform better with fewer allocations
challenge-16/submissions/awsl1110/solution-template.go:137
Function
OptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch It should produce identical results but perform better with fewer allocations
challenge-16/submissions/longbui98/solution-template.go:130
Function
OptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch It should produce identical results but perform better with fewer allocations
challenge-16/submissions/nzamulov/solution-template.go:139
Function
OptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch It should produce identical results but perform better with fewer allocations
challenge-16/submissions/kuzminprog/solution-template.go:134
Function
OptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/odelbos/solution-template.go:48
Function
OptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/Kosench/solution-template.go:30
Function
OptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/PopovMarko/solution-template.go:29
Function
OptimizedSort
(data []int)
challenge-16/submissions/Hikitak/solution-template.go:22
Function
OptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/manik23/solution-template.go:88
Function
OptimizedSort
(data []int)
challenge-16/submissions/imankhodadi/solution-template.go:21
Function
OptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/YounesBouchbouk/solution-template.go:30
Function
OptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/mvsouza/solution-template.go:30
Function
OptimizedSort
OptimizedSort uses Go's built-in sort package which implements introsort (intro sort: a hybrid of quicksort, heapsort, and insertion sort) Time comple
challenge-16/submissions/Ali-Fartoot/solution-template.go:31
Function
OptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/mick4711/solution-template.go:31
Function
OptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/PolinaSvet/solution-template.go:31
Function
OptimizedSort
Running tool: /usr/local/go/bin/go test -benchmem -run=^$ -bench ^BenchmarkOptimizedSort$ challenge16 -count=1 goos: darwin goarch: arm64 pkg: challen
challenge-16/submissions/y1hao/solution-template.go:69
← previous
next →
8,101–8,200 of 12,886, ranked by callers