MCPcopy Create free account

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

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

FunctionNewStack
NewStack creates a new empty stack
challenge-27/submissions/t4e1/solution-template.go:41
FunctionNewStack
NewStack creates a new empty stack
challenge-27/submissions/maket12/solution-template.go:44
FunctionNewStack
NewStack creates a new empty stack
challenge-27/submissions/nzamulov/solution-template.go:44
FunctionNewStack
NewStack creates a new empty stack
challenge-27/submissions/Gandook/solution-template.go:45
FunctionNewStack
NewStack creates a new empty stack
challenge-27/submissions/JackDalberg/solution-template.go:38
FunctionNewThreadSafeCacheWithPolicy
NewThreadSafeCacheWithPolicy creates a thread-safe cache with the specified policy
challenge-28/submissions/odelbos/solution-template.go:428
FunctionNewThreadSafeCacheWithPolicy
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
FunctionNewThreadSafeCacheWithPolicy
NewThreadSafeCacheWithPolicy creates a thread-safe cache with the specified policy
challenge-28/submissions/imankhodadi/solution-template.go:562
FunctionNewThreadSafeCacheWithPolicy
NewThreadSafeCacheWithPolicy creates a thread-safe cache with the specified policy
challenge-28/submissions/mvsouza/solution-template.go:419
FunctionNewThreadSafeCacheWithPolicy
NewThreadSafeCacheWithPolicy creates a thread-safe cache with the specified policy
challenge-28/submissions/PolinaSvet/solution-template.go:705
FunctionNewThreadSafeCacheWithPolicy
NewThreadSafeCacheWithPolicy creates a thread-safe cache with the specified policy
challenge-28/submissions/nzamulov/solution-template.go:487
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/jrbarbati/solution-template.go:91
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/odelbos/solution-template.go:83
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/lyb88999/solution-template.go:103
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/kiramux/solution-template.go:96
FunctionNewTriangle
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
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/PopovMarko/solution-template.go:119
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/BroQi/solution-template.go:83
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/mihir1737/solution-template.go:87
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Hikitak/solution-template.go:81
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/azs0309/solution-template.go:105
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/mvsouza/solution-template.go:92
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Mxn-ptr/solution-template.go:84
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Ali-Fartoot/solution-template.go:93
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/mick4711/solution-template.go:101
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/ne0phyte/solution-template.go:84
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/PolinaSvet/solution-template.go:93
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/y1hao/solution-template.go:88
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/wgasparin/solution-template.go:86
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/AkifhanIlgaz/solution-template.go:83
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/brenoamin/solution-template.go:85
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/ImHotDog/solution-template.go:94
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/awsl1110/solution-template.go:87
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Johrespi/solution-template.go:101
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/grozdovk/solution-template.go:97
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/longbui98/solution-template.go:96
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/0xSangeet/solution-template.go:70
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/amanabay/solution-template.go:89
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/110Aakif/solution-template.go:89
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/ashwinipatankar/solution-template.go:103
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/shansing/solution-template.go:83
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/RezaSi/solution-template.go:91
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/sreehari-k-19/solution-template.go:86
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/t4e1/solution-template.go:101
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/law-lee/solution-template.go:95
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/nzamulov/solution-template.go:95
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Cpoing/solution-template.go:99
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/Gandook/solution-template.go:86
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/JackDalberg/solution-template.go:83
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/kuzminprog/solution-template.go:107
FunctionNewTriangle
NewTriangle creates a new Triangle with validation
challenge-10/submissions/ahmedpyarali2/solution-template.go:86
FunctionNewUserService
NewUserService creates a new user service
web-ui/internal/services/user.go:22
FunctionNewUserServiceClient
(conn *grpc.ClientConn)
challenge-14/submissions/longbui98/solution-template.go:403
FunctionNewWebHandler
NewWebHandler creates a new web handler
web-ui/internal/handlers/web.go:31
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/odelbos/solution-template.go:111
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/Kosench/solution-template.go:101
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation
challenge-16/submissions/PopovMarko/solution-template.go:84
FunctionOptimizedCalculation
(n int)
challenge-16/submissions/Hikitak/solution-template.go:72
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/manik23/solution-template.go:171
FunctionOptimizedCalculation
(n int)
challenge-16/submissions/imankhodadi/solution-template.go:68
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/YounesBouchbouk/solution-template.go:116
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/mvsouza/solution-template.go:92
FunctionOptimizedCalculation
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
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/mick4711/solution-template.go:133
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/PolinaSvet/solution-template.go:98
FunctionOptimizedCalculation
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
FunctionOptimizedCalculation
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
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/awsl1110/solution-template.go:96
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/longbui98/solution-template.go:98
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/nzamulov/solution-template.go:94
FunctionOptimizedCalculation
OptimizedCalculation is your optimized version of ExpensiveCalculation It should produce identical results but perform better
challenge-16/submissions/kuzminprog/solution-template.go:92
FunctionOptimizedFibonacci
Linear complexity with iteration
challenge-16/submissions/YounesBouchbouk/solution-template.go:101
FunctionOptimizedSearch
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
FunctionOptimizedSearch
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
FunctionOptimizedSearch
OptimizedSearch is your optimized version of HighAllocationSearch
challenge-16/submissions/PopovMarko/solution-template.go:123
FunctionOptimizedSearch
(text, substr string)
challenge-16/submissions/Hikitak/solution-template.go:103
FunctionOptimizedSearch
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
FunctionOptimizedSearch
(text, substr string)
challenge-16/submissions/imankhodadi/solution-template.go:99
FunctionOptimizedSearch
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
FunctionOptimizedSearch
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
FunctionOptimizedSearch
OptimizedSearch reduces allocations by avoiding temporary string creation and using more efficient string comparison methods
challenge-16/submissions/Ali-Fartoot/solution-template.go:154
FunctionOptimizedSearch
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
FunctionOptimizedSearch
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
FunctionOptimizedSearch
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
FunctionOptimizedSearch
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
FunctionOptimizedSearch
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
FunctionOptimizedSearch
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
FunctionOptimizedSearch
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
FunctionOptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/odelbos/solution-template.go:48
FunctionOptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/Kosench/solution-template.go:30
FunctionOptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/PopovMarko/solution-template.go:29
FunctionOptimizedSort
(data []int)
challenge-16/submissions/Hikitak/solution-template.go:22
FunctionOptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/manik23/solution-template.go:88
FunctionOptimizedSort
(data []int)
challenge-16/submissions/imankhodadi/solution-template.go:21
FunctionOptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/YounesBouchbouk/solution-template.go:30
FunctionOptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/mvsouza/solution-template.go:30
FunctionOptimizedSort
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
FunctionOptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/mick4711/solution-template.go:31
FunctionOptimizedSort
OptimizedSort is your optimized version of SlowSort It should produce identical results but perform better
challenge-16/submissions/PolinaSvet/solution-template.go:31
FunctionOptimizedSort
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
← previousnext →8,101–8,200 of 12,886, ranked by callers