India’s Best Job Seekers and Training Platform Forums Algorithm Solutions Discussion Given character a-z find out nth permutation …

  • Given character a-z find out nth permutation …

  • Akash 

    Administrator
    at

    Given character a-z find out nth permutation. Where all permutation are only ascending. For e.g

    Given characters a,b,c. valid permutations are : a,b,c,aa,ab,ac,bb,bc,cc,aaa,aab,aac,abb,acc,baa,bab,bac,bbb,bbc,bcc,caa,cab,cac,cbb,cbc,ccc

    Ex- 4th permutation is : aa

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
KodNest Training New Batch is starting on 21st September 2020. Attend one week free demo classes.Register Now

New Report

Close