Merge Sort implementation in Scala

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a Scala program to implement merge sort. Merge Sort is an efficient sorting algorithm. It uses Divide and Conquer algorithm technique. Let’s look at the sample program:

Read more

How to reverse a List elements without using utility method in Scala

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a simple program to reverse a List of elements without using utility method(reverse) in Scala. Let’s look at the program:

Output: Happy Learning. Please leave a reply Read more

Scala program to find Factorial of a given number

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a Scala program to find Factorial of a given number using Linear Recursion. Let’s look at the program:

Output: Currently this program uses Linear Recursion for finding Read more