wirte a program whcih takes array as input It will divide 2 subarray and sum it and check both values add up to equal values then return true, It can create a subarray non contagious Note : the subarray length should not be equal size and should not sort the array Sample case 1: Array {1,5,11,5} , { 1 , 5 , 11 ,5 } subarray1 {1,5,5} subarray2 {11} - 11 = (1+5+5) true
{5, 3,2} subarray{5} subarray2 {3,2} 5 = (3+2) true
{1,6,3,8,4} subarray {1,6,4}={8,3} true
{5,1,3}= false
wirte a java program which get input strings[] we are checking that if any common words repeating in all the string in string[] if its repeating we are removing it from all the string and return a string with after removing common words from string in all string[] and removed words in another string Note should not use java string methods like split