trainer
trainer copied to clipboard
GoLang interview prep questions. Terminal app with Go challenges and learning links
Map quiz
Interviewers asks about maps internal structure: 1. Components of maps (buckets, hashFunc) 2. In which order for range iterates over map 3. In which order map printed Trick of 2...
I think this is almost the same as the previous one, but with less text. https://github.com/rusinikita/trainer/blob/f0529e06884603fccf5ced591dc9c8fde0c8e09c/challenge/files/00_tutorial.toml#L49-L54
Set config from https://github.com/rusinikita/devex/blob/main/.golangci.yaml https://golangci-lint.run/
Understanding slices work ```go func main() { var x []int x = append(x, 0) // explanation 1: new array created with capacity 2 x = append(x, 1) // explanation 2:...
- How to protect code from too many executions? - How to not cause overload problems in other called services? - How scheduler works? - How to find performance issues?
Context is important Go concept. Interviewer is going to ask about Context. Add challenge about context usage.
#15 issue
Currently, the code is copied only when the challenge starts, but it doesn't happen when the displayed code is changed. Maybe it should be added?