README ¶
Learn Data Structures and Algorithms with Golang
This is the code repository for Learn Data Structures and Algorithms with Golang, published by Packt.
Level up your Go programming skills to develop faster and more efficient code
What is this book about?
Golang is one of the fastest growing programming languages in the software industry. Its speed, simplicity, and reliability make it the perfect choice for building robust applications. This brings the need to have a solid foundation in data structures and algorithms with Go so as to build scalable applications. Complete with handson tutorials, this book will guide you in using the best data structures and algorithms for problem solving.
This book covers the following exciting features:
 Improve application performance using the most suitable data structure and algorithm
 Explore the wide range of classic algorithms such as recursion and hashing algorithms
 Work with algorithms such as garbage collection for efficient memory management
 Analyze the cost and benefit tradeoff to identify algorithms and data structures for problem solving
 Explore techniques for writing pseudocode algorithm and ace whiteboard coding in interviews
 Discover the pitfalls in selecting data structures and algorithms by predicting their speed and efficiency
If you feel this book is for you, get your copy today!
Instructions and Navigations
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
//main package has examples shown
// in HandsOn Data Structures and algorithms with Go book
package main
// importing fmt package
import (
"fmt"
)
// main method
func main() {
fmt.Println("Hello World")
}
Following is what you need for this book: This book is for developers who want to understand how to select the best data structures and algorithms that will help solve coding problems. Basic Go programming experience will be an added advantage.
With the following software and hardware list you can run all code files present in the book (Chapter 110).
Software and Hardware List
Chapter  Software required  OS required 

110  Go Version 1.10  Windows, Mac OS X, and Linux (Any) 
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Related products
Get to Know the Author
Bhagvan Kommadi, the founder of Quantica Computacao and Architect Corner, has around 18 years' experience in the industry, ranging from largescale enterprise development to incubating software product startups. He has a master's degree in Industrial Systems Engineering from the Georgia Institute of Technology (1997) and a bachelor's degree in Aerospace Engineering from the IIT Madras (1993). He is a member of the IFX forum and an individual member of Oracle JCP. He has developed Gobased blockchain solutions in the retail, education, banking, and financial service sectors. He has experience of building hightransactional applications using Java, Python, Go, Ruby, and JavaScript frameworks.
Other books by the authors
Suggestions and Feedback
Click here if you have any feedback or suggestions.
Directories ¶
Path  Synopsis 

main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book

main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book 
main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book

main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book 
main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book

main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book 
main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book

main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book 
/main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book /main package has examples shown in Go Data Structures and algorithms book

/main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book main package has examples shown in HandsOn Data Structures and algorithms with Go book main package has examples shown in HandsOn Data Structures and algorithms with Go book /main package has examples shown in Go Data Structures and algorithms book 
/main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book

/main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book 
/main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book main package has examples shown in HandsOn Data Structures and algorithms with Go book

/main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book main package has examples shown in HandsOn Data Structures and algorithms with Go book 
/main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book

/main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book 
main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book

main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book main package has examples shown in Go Data Structures and algorithms book 
/main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book

/main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book 
test
/main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book

/main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book /main package has examples shown in Go Data Structures and algorithms book 
main package has examples shown in Go Data Structures and algorithms book

main package has examples shown in Go Data Structures and algorithms book 