An interactive Swift Playground Book about Binary Search Trees, designed for the Swift Playgrounds application on the iPad. This is my personal entry for the WWDC 2017 scholarship application. The book is a simple, responsive tutorial with a game on the last page. You will help create, insert nodes, and traverse your own Binary Search Tree using the Swift coding language.
To run the playground book, you will need an iPad with the Swift Playgrounds application installed.
- In a command line, type
git clone https://github.com/joelrorseth/Tree-Trouble
- Open the new folder in Finder, and use Airdrop or email to
transfer the Tree Trouble.playgroundbook to the iPad device
. You can also upload the file to iCloud Drive or Google Drive, then choose to import from one of these services in the Swift Playgrounds application. - On the iPad, open the file in Swift Playgrounds.
MIT License
Copyright (c) [2017] [Joel Rorseth]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.