Join Simon Allardice for an in-depth discussion in this video Working the problem, part of Code Clinic: Swift.
- It sometimes mystifies people who aren't…developers why would we spend time solving a…problem we know was already solved…165 years ago?…And of course it's because we don't just want…to know the results.…I don't really care about these results,…I want them to be correct, sure, but we're doing…this because working and understanding this…problem has value in itself.…And not just for our geeky curiosity or entertainment,…it's the techniques we use here are great for…much more than finding chess board arrangements,…what we're doing here is writing a program that…explores possibilities.…
So we want code that won't just search,…but will search intelligently.…We have a chessboard, eight squares by…eight squares, and we have eight queens.…Mathematically, there are four billion…four hundred and 26 million 165 thousand…368 possible arrangements to place these…eight queens on an eight by eight chess board,…and I would suggest that we do not want to have…to go through all of these 4.4 billion…arrangements and check every one.…
Simon introduces challenges and then provides an overview of his solutions in Swift. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Skill Level Intermediate
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S
1. Problem One: Exploring Lake Pend Oreille
2. Problem Two: Image Analysis
3. Problem 3: Eight Queens
4. Problem 4 - Accessing Peripherals
5. Problem 5 - Recursion and Directories
6. Problem 6 - Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.