Philaland Coin | TCS Mockvita 2020 | Function to find the minimum number of denomminations required ; Driver Code ; Function Call
function findMinDenomin ( n ) { return ( Math . floor ( Math . log ( n ) / Math . log ( 2 ) ) + 1 ) ; } let n = 10 ; document . write ( findMinDenomin ( n ) ) ;