There is an unused variable printCount in printSort()
Hi @amberspades and welcome to the forum community! Thank you for sharing this with us. I shared this to the errata forum for this book. Errata for Data Structures and Algorithms in Swift, 3rd Edition - #7 by gdelarosa. Also, if you haven’t yet there is also an official Ray Wenderlich Discord where you can chat about iOS, Android, and all things RW. Feel free to check it out! Discord
Best,
Gina