Steps to create amazon EC2 instance

In this post we will understand the Steps to create amazon EC2 instance. The prerequisite for this post is AWS account and good internet connectivity. Let's understand to create an EC2 instance for Linus OS on AWS, an existing AWS account will be required and if not we can create new account. Please follow the below procedure to launch EC2 instance for Linux OS.

Array Rotation in Java

Array Rotation in Java. (Asked by top MNC's like Amazon, Microsoft, goldman sachs, wipro, TCS..etc)

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.