O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Fundamental Algorithms in Scala

Video Description

Implement classic, simple algorithms using the functional approach in Scala

About This Video

  • Install Scala and get started with using it (IDE and REPL)
  • Reinforce your knowledge using assessments and quizzes
  • Verify the concepts learned through an end-of-the-course practical project

In Detail

Scala's functional programming features are a boon to help you design “easy to reason about” systems to control growing software complexities.

In this course, you will look at some classic simple algorithms. Most algorithms are traditionally defined in an imperative manner, typically consisting of repetitions in the form of conditional looping and altering states. Writing these in a functional manner is not always a trivial process. Moving ahead, you will learn to implement these elementary algorithms using a combination of functional concepts instead of the traditional imperative approach. After covering the important functional concepts in Scala you will move on to the decimal to binary conversion and generate sequences algorithms. Further, we will look at implementing a series of algorithms such as generating prime numbers, divide and conquer, greedy algorithms, and functional infix to postfix conversion.

By the end of this course, you will be well versed in the functional concepts of Scala and would have implemented all of these.

Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.