Thanks to visit codestin.com
Credit goes to www.hackerrank.com

Sherlock's Array Merging Algorithm