Essential algorithms and data structures
Source code in Python, Visual Basic and C#
This download provides you with fully working solutions to complement our textbook, “Essential algorithms and data structures”.
We have chosen to provide coded solutions in Python 3 because it is the most popular language taught at GCSE, in Visual Basic Console (2015 onwards) because it is a language that most closely resembles the pseudocode and coded examples students will need to work with in examinations, and C# as it is a leading industry standard language.
For those students studying other languages such as C++ / Java etc it would be a great exercise to translate the code presented in this book.
Readers should consider that there are many ways to code these algorithms. What is important is that students recognise the underlying data structures, understand the way an algorithm works, and can determine the output from a piece of code. Therefore, the approaches and solutions presented in this download are a solution, not THE solution.
Source code for Visual Basic and C# will need to be copied into an IDE such as Visual Studio.
What extra is in the 200 page book?
Each algorithm / data structure has its own dedicated chapter in the book, which includes: