## Find Permutation InterviewBit Solution

Given a positive integer n and a string s consisting only of letters D or I, you have to find any permutation of first n positive integer that satisfy the given input string. D means the next number is smaller, while I means the next number is greater. Link to Problem I/P : “DIDD” 5… Read More »