Ques1: Extra element from 2nd array(all elements of 1st array is in 2nd array)
#TestCase1: arr1 = [2,3,6,5,7], arr2 = [2,3,6,5,7,1]
#TestCase 2: arr1 = [1,1,1,1], arr2 = [1,1,1,1,1]
Ques2: Third highest sum from the array
Ques3: Sort this ["blue ball 2","blue ball 3","blue ball 1","red ball 3","red ball 1","red ball 2","yellow ball 1","yellow ball 3","yellow ball 2"]
Note: Do not use direct sort method because they want to see your sorting skills!
Ques4: Unique element from the string
#TestCase: "Nagarro"
#Output: Nagro
Ques5: Consecutive pairs from 2 arrays
#TestCase: arr1 = [6,4,9,7,5], arr2 = [7,4,5,6,2]
#Output: [[6,7], [4,5],[9,7],[7,6],[5,6]]
Ques6: Frequency of words in a String
#TestCase: "how do you do"
#Output: how=1 do=2 you=1