In one operation we can convert even number to even/2 and an odd number to odd number*2,
We can perform oerations any number of times we want(possibly zero)
Our aim is minimize the (maxiumVal-minimumVal) value, report that value!!
Need help in a question!!
In one operation we can convert even number to even/2 and an odd number to odd number*2,
We can perform oerations any number of times we want(possibly zero)
Our aim is minimize the (maxiumVal-minimumVal) value, report that value!!
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en1 | nikhil09.dixit | 2024-05-07 19:48:41 | 261 | Initial revision (published) |