hed segment font-content"><div style="position: relative; overflow: hidden;"><p><span style="font-size: medium">Professor Byteoni is preparing Bit &amp; Byte Theory exam. He has already prepared N questions. Each of these questions has been ranked with an expected difficulty coefficient by the professor. This coefficient is a natural number ranging from 1 toN. Each of the questions holds a different coefficient. <br />
Now the professor is considering the exam questions sequence. Professor wishes to determ