Learn Data Structures and Algorithms with Golang
上QQ阅读APP看书,第一时间看更新

Summary

This chapter covered the definition of abstract datatypes, classifying data structures into linear, nonlinear, homogeneous, heterogeneous, and dynamic types. Abstract datatypes such as container, list, set, map, graph, stack, and queue were presented in this chapter. The chapter covered the performance analysis of data structures and structural design patterns.

We looked at the classification of data structures and structural design patterns. You can use algorithms such as brute force, divide and conquer, and backtracking by calculating the complexity and performance analysis. The choice of algorithm and the use of design patterns and data structures are the key takeaways. 

In the next chapter, we will discuss data structures in Go. The following data structures will be covered:

  • Arrays
  • Slices
  • Two-dimensional slices 
  • Maps