Sorting and Searching Algorithms in Scala [Integrated Course]

Sorting and Searching Algorithms in Scala [Integrated Course]

This video is included in a Mapt subscription
James Cutajar

Implement various sorting and searching algorithms using the functional approach in Scala
This title is available to pre-order now and is expected to be published in
$0.00
$106.25
$29.99p/m after trial
RRP $124.99
Subscription
Video
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Video Details

ISBN 139781788476850
Course Length4 hours

Video 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, we look at some sorting and search 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. In this lesson we will look to do the same. We will also show how to implement search data structures in functional and immutable manner. We will look at number sorting, substring search, hash maps, binary trees, and closest pair algorithms. Along the way, we will talk about bubble sort, merge sort, backtracking, why purely functional data structures are problematic, and the problems with immutable data structures. Further, we will look at balanced and unbalanced binary trees, DFS and BFS traversal, 1D, 2D, and brute force algorithms.

By the end of the course, you will have gained a thorough knowledge of many functional Scala concepts.

Key Features

  • Discuss the disadvantages of the imperative approach and compare them with implement the algorithms in a functional manner
  • Reinforce your knowledge using assessments and quizzes
  • Verify the concepts learned through an end-of-the-course practical project

Who this course is for

This course is aimed at intermediate Scala developers who want to learn in depth about functional programming concepts in Scala. This course will help intermediate developers understand complex search and sort algorithms and implement functional approach to solve these algorithms.

Table of Contents

What You Will Learn

  • Understand and implement merge sort and bubble sort
  • Implement the functional approach for a backtracking algorithm
  • Implement a purely functional hashtable
  • Learn about balanced and unbalanced binary trees and implement them in a functional manner
  • Understand DFS and BFS traversal on binary trees
  • Implement 1D and 2D algorithms

Authors

Table of Contents

Video Details

ISBN 139781788476850
Course Length4 hours
Read More

Read More Reviews

Recommended for You

Fundamental Algorithms in Scala [Integrated Course] Book Cover
Fundamental Algorithms in Scala [Integrated Course]
$ 106.25
State management in Vue.js and Firebase essentials [Integrated Course] Book Cover
State management in Vue.js and Firebase essentials [Integrated Course]
$ 106.25
Effective Refactoring in Java [Integrated Course] Book Cover
Effective Refactoring in Java [Integrated Course]
$ 106.25
Unsupervised Clustering in Mesos [Integrated Course] Book Cover
Unsupervised Clustering in Mesos [Integrated Course]
$ 106.25
Software Design Principles in Java [Integrated Course] Book Cover
Software Design Principles in Java [Integrated Course]
$ 106.25
Bayesian Networks in Swift [Integrated Course] Book Cover
Bayesian Networks in Swift [Integrated Course]
$ 106.25