GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - spring1843/go-dsa: Go Data Structures and Algorithms is an open source tool for learning and rehearsing data structures and algorithms in Go.

BranchesTags
Open more actions menu

Latest commit

 

History

191 Commits
191 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
array
array
 
 
backtracking
backtracking
 
 
bit
bit
 
 
dnc
dnc
 
 
dp
dp
 
 
graph
graph
 
 
greedy
greedy
 
 
hashtable
hashtable
 
 
heap
heap
 
 
linkedlist
linkedlist
 
 
queue
queue
 
 
recursion
recursion
 
 
stack
stack
 
 
strings
strings
 
 
tree
tree
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
STYLE.md
STYLE.md
 
 
complexity.md
complexity.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
preface.md
preface.md
 
 

Repository files navigation

Data Structures and Algorithms in Go 🚀

tests GitHub License Go Report Card Coverage Report Go Reference

Go-DSA, Go Data Structures and Algorithms

Welcome to Data Structures and Algorithms in Go! 🎉 This project is designed as a dynamic, hands-on resource for learning and practicing data structures and algorithms in the Go programming language.

  • More than one hundred rehearsal problems, at least six problems for each of the fifteen topics
  • Executable and comes with 100% test coverage, ensuring correctness and quality
  • Completely free, community-editable, and continuously evolving
  • Ability to study and practice in your favorite IDE, editor, or web browser

Random Challenge

📚 Table of Contents

  • Preface
  • Complexity Analysis
  • Data Structures
    • Arrays
      • Reverse Array In-place
      • Add Two Numbers Represented as Slices
      • Find Duplicate in Array
      • Zero Sum Triplets
      • Product of All Other Elements
      • Equal Sum Sub-arrays
      • Rotate K Times
      • Bubble Sort
      • Insertion Sort
    • Strings
      • The Longest Dictionary Word Containing Key
      • Look and Tell
      • In Memory Database
      • Number in English
      • Reverse Vowels in a String
      • Longest Substring of Two Unique Characters
      • Roman Numerals
    • Linked Lists
      • Linked List Serialization
      • Reverse Linked List In-place
      • Join Two Sorted Linked Lists
      • Keep Repetitions
      • Copy Linked List with Random Pointer
      • LRU Cache
    • Stacks
      • Max Stack
      • Balancing Symbols
      • Infix to Postfix Conversion
      • Evaluate Postfix
      • Basic Calculator
      • Longest Valid Parentheses
    • Queues
      • Queue Using Stacks
      • Circular Queue Array
      • Symmetrical Binary Tree
      • Generate Binary Numbers
      • Max Sub-array of size K
      • String Permutations
    • Hash Tables
      • Find Missing Number
      • List Elements Summing Up to K
      • Fastest Way to Cut a Brick Wall
      • Smallest Missing Positive Integer
      • Find Anagrams
      • Find Max Points on the Same Line
    • Trees
      • Serialize Binary Tree
      • Evaluate A Binary Expression Tree
      • Sorted Array to Balanced BST
      • Traverse Binary Tree
      • Reverse Binary Tree
      • Autocompletion
    • Heaps
      • Kth Largest Element
      • Merge Sorted Lists
      • Median in a Stream
      • Regular Numbers
      • Kth Closest Points to the Center
      • Sliding Max
      • Heap Sort
  • Algorithms
    • Recursion
      • Reverse an integer recursively
      • Palindrome
      • Climbing Stairs
      • Exponentiation
      • Multiplication
      • Regular Expression Matching
      • Expression Operators
    • Divide and Conquer
      • Binary Search
      • Square Root with Binary Search
      • Rate Limit
      • Towers of Hanoi
      • Merge Sort
      • Quick Sort
    • Bit Manipulation
      • Division Without Multiplication or Division Operators
      • Middle Without Division
      • Addition Without Arithmetic Operators
      • Power of Two
      • Max Without Comparison Operators
      • Oddly Repeated Number
    • Backtracking
      • Permutations
      • Generate Parentheses
      • Phone Letter Combinations
      • Maze
      • Sudoku
      • N Queens
    • Graphs
      • Iteratively BFS and DFS
      • DAG Graphs
      • Topological Sort
      • Employee Headcount
      • Remove Invalid Parentheses
      • Cheapest Flights
      • Dijkstra's Algorithm
      • Word Ladder
      • Network Delay Time
      • Number of Islands
      • Dependency Order
    • Greedy Algorithms
      • Max Stock Profit
      • Activity Selector
      • Knapsack
      • Jump Game
      • Max Number
      • Task Scheduling
    • Dynamic Programming
      • Rod Cutting
      • Sum Up to Number
      • House Robber
      • Interleaving String
      • Min Deletions to Make a Palindrome
      • Word Distance

📋 Outline

All topics are discussed in README.md files in the corresponding directory. Each topic includes the following sections:

  • 💡 Implementation: Overview of implementing the data structure or algorithm in Go.
  • 📊 Complexity: Analysis of the time and space complexity of the data structure or algorithm.
  • 🎯 Application: Discuss problems commonly solved using the data structure or algorithm.
  • 📝 Rehearsal: Practice problems with links to tests that provide 100% coverage and example inputs and outputs.

About

Go Data Structures and Algorithms is an open source tool for learning and rehearsing data structures and algorithms in Go.

Topics

algorithmsdata-structuresdivide-and-conquerdynamic-programminggolanggreedy-algorithmslearningprogramming-challengespuzzlesrecursion

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity

Stars

872 stars

Watchers

8 watching

Forks

229 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.