Data structures with Go - Part II

Data Structures With Go - Part II This page has been migrated to Medium In the previous post we discussed how to implement linear data structures with Go. Now we will explore two more complex data structures: tree and graph. Those structures are not Linear and can represent unstructured information. Both graphs and trees are the foundation of the graph theory and both can be used, essentially, to describe a kind of relation. ...

January 10, 2020 · 8 min · Dario Di Pasquale

Data structures with Go - Part I

Data Structures With Go - Part I This page has been migrated to Medium Data structures are everywhere. Every developer should know them, starting from the most common ones. The data structure priorly describes how the data is organised, accessed, associated and processed. Using data structures you can keep your data in memory and efficiently access them. You should pick the data structure that is the most suitable for your purposes to minimize space in memory and access time. ...

January 3, 2020 · 12 min · Dario Di Pasquale

Binary Search with Go, Python and C

The Binary Search Algorithm This page has been migrated to Medium The Binary Search Algorithm is a search algorithm that works for sorted collections (e.g. sorted arrays). It takes as input a collection, the length of that collection and an element to find, and gives as output the index of the element in the collection (if it exists). This algorithm is as efficient as easy to learn due to its simplicity. ...

December 1, 2019 · 3 min · Dario Di Pasquale