In this chapter, we're going to put together all of the knowledge that we've gained in this book in order to implement popular algorithms. Specifically, we'll learn how to build advanced algorithms using the Ruby programming language, including sorting methods, such as quick sort and merge sort, along with a number of functional programming algorithms. By the end of this chapter, you will be able to:
- Understand how to build custom algorithms
- Employ both iterative and functional programming techniques to implement algorithms
- Use prime numbers in order to implement various mathematical algorithms