Go Exercises

This practice track is designed to help you sharpen your Go programming skills through active, hands-on problem solving. Explore how Go works by practicing and solving real problems.
Join 2.7 million developers at
Overview
Content
Reviews
Practice Go through these structured coding sessions, and you’ll find yourself getting comfortable with Go’s strengths: simplicity, speed, and built-in concurrency. Tackle real-world scenarios like concurrent task handling, API structuring, and error-safe execution. Whether you're just starting with Go or bringing experience from another language, this track guides you through the practical side of coding in Go. You’ll learn how to organize code using idiomatic patterns, manage concurrency with goroutines and channels, and embrace the minimalism that defines Go’s style. This is more than a syntax review. It’s a space to apply, repeat, and practice your ability to write Go that’s ready for production.
Practice Go through these structured coding sessions, and you’ll find yourself getting comfortable with Go’s strengths: simplici...Show More

WHAT YOU'LL LEARN

How to write clean Go code through hands-on problem solving.
Practical experience using Go features like goroutines, channels, and more.
Hands-on practice with Go’s core constructs like packages, interfaces, and error handling, through practical coding challenges.
Developing the practical confidence to use Go in systems, cloud, and backend development.
How to write clean Go code through hands-on problem solving.

Show more

Go Challenges with PAL

Question
Difficulty
Solution

Design In-Memory File System

Simulate a hierarchical file structure using Go’s structs, maps, and interfaces.

Easy

Logger Rate Limiter

Easy

Number of Islands

Easy

Design File System

Easy

Encode and Decode Strings

Easy

Search Suggestions System

Easy

Clone Graph

Easy

Design HashMap

Easy

Graph Valid Tree

Easy

Pacific Atlantic Water Flow

Easy

Evaluate Division

Easy

Optimal Account Balancing

Easy

Search Suggestions System

Easy

Word Ladder

Easy

Course Schedule

Easy

Detonate the Maximum Bombs

Easy

Median of Two Sorted Arrays

Easy

Moving Average from Data Stream

Easy

Validate Binary Search Tree

Easy

Maximum Number of Visible Points

Easy

Most Stones Removed with Same Row or Column

Easy

Network Delay Time

Easy

Reverse Linked List

Easy

Time-Based Key-Value Store

Easy

Count Negative Numbers in a Sorted Matrix

Easy

Maximum Value at a Given Index in a Bounded Array

Easy

Complement of Base 10 Integer

Easy

Pairs of Songs With Total Durations Divisible by 60

Easy

Transpose Matrix

Easy

Reorder Routes to Make All Paths Lead to the City Zero

Easy

Restore IP Addresses

Easy

Search in Rotated Sorted Array

Easy

Minimize Malware Spread

Easy

Developed by MAANG Engineers
Every Educative lesson is designed by a team of ex-MAANG software engineers and PhD computer science educators, and developed in consultation with developers and data scientists working at Meta, Google, and more. Our mission is to get you hands-on with the necessary skills to stay ahead in a constantly changing industry. No video, no fluff. Just interactive, project-based learning with personalized feedback that adapts to your goals and experience.

Trusted by 2.7 million developers working at companies

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

AI Prompt

Build prompt engineering skills. Practice implementing AI-informed solutions.

Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

Explain with AI

Select any text within any Educative course, and get an instant explanation — without ever leaving your browser.

AI Code Mentor

AI Code Mentor helps you quickly identify errors in your code, learn from your mistakes, and nudge you in the right direction — just like a 1:1 tutor!

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath