Function to find the starting and the ending index of the sub - array with equal number of alphabets and numeric digits
function findSubArray ( arr , n ) { let sum = 0 ; let maxsize = - 1 , startindex = 0 ; for ( let i = 0 ; i < n ; i ++ ) {