text: Returns sum of maximum sum subarray created after concatenating a [ 0. . n - 1 ] k times .
code: function maxSubArraySumRepeated ( a , n , k ) { let max_so_far = 0 ; let INT_MIN , max_ending_here = 0 ; for ( let i = 0 ; i < n * k ; i ++ ) {