live_like_simple's blog

By live_like_simple, history, 7 weeks ago, In English

you are given a number of easy, medium, and hard questions.also given the totalnumber of qns to be framed. following condition to be withheld while solving: medium qns always greater than easy and hard no two question-level should be consecutive. atleast one qns of every level must be there.

input like N,E,M,H 4 2 3 3

output : total combination would be 4 e m h m , h m e m , m e m h, m h m e

i don't know to approach this qns. thanks in advance!

 
 
 
 
  • Vote: I like it
  • +5
  • Vote: I do not like it