Company: oracle_16oct
Difficulty: medium
Roll the String Problem Description A single roll operation increments each character by one in a circular manner within the English alphabet (a-z). For example, 'a' becomes 'b', 'b' becomes 'c', and 'z' becomes 'a'. Given a string s and an array of integers roll , perform a roll operation on the first roll[i] characters of s for each element in the array. Function Description Complete the function rollTheString in the editor with the following parameter(s): string s : the string to operate on int roll_count : the number of items in roll int* roll : an array of integers representing the number of characters to roll for each operation Returns string : the resulting string after all roll operations have been performed Examples Example 1: Input: s = "abz", roll = [3, 2, 1] Output: "dda" Explanation: roll[0] = 3: Roll all three characters. 'abz' becomes 'bca'. (a->b, b->c, z->a) roll[1] = 2: Roll the first two characters. 'bca' becomes 'cda'. (b->c, c->d, a remains a) roll[2] = 1: Roll the