Company: Wipro_11nov
Difficulty: medium
Place the alphabets Problem Description Given an integer array input1 with N non-repeating elements, generate and return a character array as per the requirement: Size of the character array should be same as that of input1 In the character array, alphabet 'a' will be placed in the position of smallest element of input1 alphabet 'b' will be placed in the position of second smallest element of input1 alphabet 'c' will be placed in the position of third smallest element of input1 and so on.. Examples Example 1: Input: input1 = [10, 5, 70, 1] Output: {c, b, d, a} Explanation: 1 is the smallest element in input1, it is in index 3, hence 'a' is placed in index position 3 5 is the second smallest element in input1, it is in index 1, hence 'b' is placed in index position 1 10 is the third smallest element in input1, it is in index 0, hence 'c' is placed in index position 0 70 is the fourth smallest element in input1, it is in index 2, hence 'd' is placed in index position 2 Example 2: Input: