Merge Sort in Java

Like QuickSort, Merge Sort also divide and conquer algorithm. It divides input array in two halves, calls itself for the two halves and then merges the two sorted halves. The merge() function is used for merging two halves. The merge(arr, left, mid, right) is key process that assumes that arr[left..mid] and arr[mid+1..right] are sorted and merges the two sorted sub-arrays into one.

Count the node of linked list in Java

In this post we will be Count the node of linked list in Java. Given a singly linked list. The task is to find the length of the linked list, where length is defined as the number of nodes in the linked list.

Recursion in Java

In this post we will be seeing What is Recursion in Java. Recursion is a part of algorithms in which function calling itself until some base condition is not occur.

Building a Spring Boot Application in Jenkins

In this post we will be seeing how we can build our first Spring Boot maven based Java Project in Jenkins. If you're not sure what Jenkins is I would strictly recommend to go through Introduction to Jenkins, Jenkins Architecture, Build first project in Jenkins.