Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Fundamental Algorithms in Scala
Rating: 4.1 out of 5(19 ratings)
110 students

Fundamental Algorithms in Scala

Implement classic, simple algorithms using the functional approach in Scala
Last updated 12/2017
English
English [Auto],

What you'll learn

  • This course is aimed at Scala beginners and enthusiasts who want to get started with Scala's functional programming concepts. This course will allow newbie developers to understand classic algorithms and implement the functional approach to solve them.

Course content

7 sections • 28 lectures • 3h 39m total length
  • The Course Overview3:57

    This video provides an overview of the entire course

  • Why Functional?8:25

    In this video, we will attempt to explain what it means to program functionally and describe some advantages and benefits.

  • Getting Started with Scala8:27

    In this video, we will show how to get started with Scala, by setting up the SDK and the REPL.

  • Scala in Your IDE7:43
    We will describe how to setup IntelliJ IDE to be able to compile and build Scala source files. We will also have a first look at a Scala class and work sheets.
  • Scala in Action6:28

    In this video, we will have a look at our first algorithm, that of set intersection.

  • What’s so special about being functional?

Requirements

  • 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

Description

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.

About the Author :

James Cutajar is a software developer with interests in scalable high performance computing and distributed algorithms. He is also an open source contributor, blogger, and tech evangelist. When he is not writing software, he is riding his motorbike, surfing, or flying light aircraft. He was born in Malta, lived for almost a decade in London, and is now working in Portugal.

Who this course is for:

  • Learn decimal to binary and implement it in a functional form
  • Generate sequences using streams
  • Generate Fibonacci sequences the functional way
  • Understand the process to choose the right algorithm for the right usecase
  • Understand the usefulness of pattern matching
  • Generate prime numbers using the functional pattern