Skip to content

Fixing small typos in questions.md #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ imageAlts:

If you're preparing for a Golang interview, these 25 questions will give you the practice you need to hit the ground running on the technical portion. You need to have already learned the language and (hopefully) have built projects with it, but these questions are designed refresh your memory and expand your knowledge on some of the more esoteric parts of the language.

*Cramming practice interview questions is not a substitwute for spending the months it takes to learn it.*
*Cramming practice interview questions is not a substitute for spending the months it takes to learn it.*

As someone who has hired several Go developers, I handpicked these questions (and give you my answers) because I think they are the kinds of questions that are most likely to come up in your interviews. You'll notice that the questions are open-ended. This is intentional. It's not about memorizing answers, it's about understanding the concepts and being able to explain them in your own words.

Expand Down Expand Up @@ -326,7 +326,7 @@ func main() {
}
```

In this code snippet, two goroutines increment a shared `counter` variable concurrently, leading to a race condition. Using a mutex, atmoic value, or channel to synchronize access to `counter` can prevent this.
In this code snippet, two goroutines increment a shared `counter` variable concurrently, leading to a race condition. Using a mutex, atomic value, or channel to synchronize access to `counter` can prevent this.

#### 5. How would you represent a "set" data structure in Go?

Expand Down