Driver Code
let arr = [ 233 , 144 , 89 , 71 , 13 , 21 , 11 , 34 , 55 , 23 ] ; let n = arr . length ; let k = 3 ; let ans = largestCompositeDigitProduct ( arr , n , k ) ; document . write ( ans + " " ) ;