Blog

how to convert an Array into a Map in Scala

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a Scala program to convert an Array into an instance of Map. Let’s look at the program:

Output: Happy learning. Please leave a reply in case of any Read more

How to find the largest number in a given list of integers in Scala using reduceLeft

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a Scala program to find the largest number in a given list of integers using reduceLeft. Let’s look at the program:

Output: Happy learning. Please leave a reply Read more

How to find the largest number in a given list of integers in Scala

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a Scala program to find the largest number in a given list of integers. Let’s look at the program:

Output: Happy learning. Please leave a reply in Read more

Printing Fibonacci series in Scala – Tail Recursion

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a Scala program to print Fibonacci series using Tail Recursion. Fibonacci Series: Finding n’th element: f(n) = f(n-1) + f(n-2)

Output: The inner function fibonacci() is a Read more

Printing Fibonacci series in Scala – Normal Recursion

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a Scala program to print Fibonacci series using simple Recursion. Fibonacci Series: Finding n’th element: f(n) = f(n-1) + f(n-2)

Output: Happy learning. Please leave a reply Read more