Swift Fun Algorithms #2: Binary Search
Searching is very important when it comes to programming. Doing it efficiently is when it comes dealing with large sets of data is quite important as well. For example, imagine a company like Facebook having huge sets of data. If searching for a contact in your friends list was slow, user experience would be affected dramatically. Full implementation of the code can be found here: http://letsbuildthatapp.com/2016/05/0... For video updates, follow me on Twitter at https://twitter.com/buildthatapp