Generate an N | Function to minimize the maximum element present in an N - length array having sum of elements divisible by K ; Return the ceil value of ( K / N ) ; Driver Code
function minimumValue ( N , K ) { return Math . ceil ( K / N ) ; } let N = 4 , K = 50 ; document . write ( minimumValue ( N , K ) ) ;