← DSA Concepts in Go
Full Examples
Complete examples for each lesson.
02. Arrays Strings and Slices
- 📄 Move Zeroes · Go Playground
- 📄 Rotate Array · Go Playground
- 📄 Longest Substring Without Repeating Characters · Go Playground
- 📄 Prefix Sum · Go Playground
- 📄 Subarray Sum Equals K · Go Playground
- 📄 Number of Segments in a String · Go Playground
- 📄 Most Common Word · Go Playground
- 📄 Find Words Formed by Characters · Go Playground
03. Two Pointers and Sliding Window
- 📄 3Sum · Go Playground
- 📄 Kadane's Algorithm · Go Playground
- 📄 Minimum Size Subarray Sum · Go Playground
04. Hash Maps and Sets
- 📄 Group Anagrams · Go Playground
- 📄 Longest Consecutive Sequence · Go Playground
- 📄 Destination City · Go Playground
05. Stacks and Queues
- 📄 Valid Parentheses · Go Playground
- 📄 Daily Temperatures · Go Playground
- 📄 Sliding Window Maximum · Go Playground
06. Linked Lists
- 📄 Reverse Linked List · Go Playground
- 📄 Merge Two Sorted Lists · Go Playground
07. Recursion
- 📄 Maximum Depth of Binary Tree · Go Playground
08. Sorting Algorithms
- 📄 Merge Intervals · Go Playground
09. Binary Search
- 📄 Koko Eating Bananas · Go Playground
10. Trees and BSTs
- 📄 Binary Tree Level Order Traversal · Go Playground
- 📄 Lowest Common Ancestor · Go Playground
13. Backtracking
- 📄 Subsets · Go Playground
- 📄 Permutations · Go Playground
- 📄 N-Queens · Go Playground
14. Graphs
- 📄 Number of Islands · Go Playground
- 📄 Flood Fill · Go Playground
- 📄 Rotting Oranges · Go Playground
- 📄 All Paths From Source to Target · Go Playground
- 📄 Clone Graph · Go Playground
- 📄 Course Schedule · Go Playground
- 📄 Word Ladder · Go Playground
15. Shortest Path and MST
- 📄 Network Delay Time · Go Playground
16. Dynamic Programming
- 📄 Coin Change · Go Playground
- 📄 Longest Increasing Subsequence · Go Playground
- 📄 Unique Paths · Go Playground
- 📄 Edit Distance · Go Playground
17. Greedy and Bit Manipulation
- 📄 Jump Game · Go Playground
- 📄 Single Number XOR · Go Playground