However, I did notice that many of the example code in the book seems to be unnecessary to get the point across. Example, the "example ofโ method seems bit strange to add. Why not just simply instantiate a class?
@pdl5000 Thanks very much for your comment/question
The book is meant for the beginner who is being introduced to Data Structures and Algorithms in Swift for the first time, so we always want to assume minimal knowledge coming in. To a more advanced developer, yes, some descriptions or examples can be a bit repetitive, or unnecessary, and I apologize. However, we are happy that you are enjoying the book, and find it beneficial. Please do check out the Swift Algorithm Club for additional topics