484. Find Permutation
You are given a string `s` of length `n`, where each character is either 'I' (increasing) or 'D' (decreasing). You need to reconstruct a permutation `p` of numbers `[1, 2, ..., n+1]` that satisfies the following rule:
You are given a string `s` of length `n`, where each character is either 'I' (increasing) or 'D' (decreasing). You need to reconstruct a permutation `p` of numbers `[1, 2, ..., n+1]` that satisfies the following rule: