Functional Data Structures and Algorithms [Video]

More Information
  • Learn to think in the functional paradigm
  • Learn about the O notation
  • Take a look at runtime and space complexities
  • Explore the basic themes of immutability and persistent data structures
  • Learn to drop and concatenate lists
  • Learn to append and prepend lists
  • Take a look at building trees
  • Learn about the backtracking algorithm.
  • Master Scala best practices and idioms

Functional data structures have the power to improve the code base of an application and improve efficiency. With the advent of functional programming, and with powerful functional languages such as Scala, Clojure and Elixir becoming part of important enterprise applications, functional data structures have gained an important place in the developer toolkit. Immutability is a cornerstone of functional programming. Immutable and persistent data structures are thread-safe by definition and hence very appealing for writing robust concurrent programs. How do we express traditional algorithms in a functional setting? Won’t we end up copying too much? Do we trade performance for versioned data structures? This course attempts to answer these questions by looking at functional implementations of traditional algorithms.

It begins with a refresher and consolidates what functional programming is all about. Next, you’ll get to know about Lists, the work horse data type for most functional languages. We show what structural sharing means and how it helps to make immutable data structures efficient and practical. Moving on, you will learn about binary trees, where we will be building complete trees, greedy algorithms, and back tracking

Style and Approach

Step-by-step topics will help you get started with functional programming. Learn by doing with hands-on code snippets that give you practical experience of the subject.

  • Moving from Object-Oriented Programming to functional programming? This book will help you get started with functional programming.
  • Easy-to-understand explanations of practical topics will help you get started with functional data structures.
  • Illustrative diagrams explain algorithms in detail.
  • Get hands-on with Scala to get the most out of functional programming.
Course Length 2 hours
ISBN 9781788393256
Date Of Publication 26 Jun 2017


Atul S. Khot

Atul S. Khot is a self-taught programmer and has written software programmes in C and C++. Having extensively programmed in Java and dabbled in multiple languages, these days, he is increasingly getting hooked on Scala, Clojure, and Erlang. Atul is a frequent speaker at software conferences and a past Dr. Dobb's product award judge. He was the author of Scala Functional Programming Patterns and Learning Functional Data Structures and Algorithms, published by Packt Publishing.

Raju Kumar Mishra

Raju Kumar Mishra is a consultant and corporate trainer for big data and programming. After completing his B. Tech from the Indian Institute of Technology (ISM) Dhanbad, he worked for Tata Steel. His deep passion for mathematics, data science, and programming took him to the Institute of Science (IISc). After graduating from IISc in computational science, he worked for Oracle as a performance engineer and software developer.

He is an Oracle-certified associate for Java 7. He is a Hortonworks-certified Apache Hadoop Java developer, and holds a Developer Certification for Apache Spark (O'Reilly School of Technology and Databriks), and Revolution R Enterprise-certified Specialist Certifications. As well as this, he has also passed the Financial Risk Manager (FRM I) exam. His interest in mathematics helped him in clearing the CT3 (Actuarial Science) exam.