Array data structure

As mentioned in its dictionary meaning, the array is “range of particular type of things”. Here in computer science array is a range of the same types of objects. Objects here represents any programming language objects i.e., char, short, int, float, double or Object…etc. It stores in contiguous memory locations in the application memory. Let’sRead More »

Merge Sort

Given an array of integer values aim is to sort them in ascending/descending order using the Merge Sort algorithm. Merge Sort is a high performing sorting technique similar to quicksort. This sorting algorithm works by using the divide and conquer method. Merge sort divides the input array into half parts recursively until it has 1Read More »