The Weekly Challenge
You don't have to be an expert
You are given a string representing a decimal integer >= 1 without leading zeros. Write a script that to convert the given string into its uppercase hexadecimal representation. Replace every digit '0' with the letter 'O', also replace every digit '1' with the letter 'I'. The resulting string should only contain characters: 'A', 'B', 'C', 'D', 'E', 'F', 'I', and 'O'.
You are given a string containing lowercase English letters and directions array in the form [direction, amount]. The direction 0 is left shift and direction 1 is right shift. Write a script to apply the sequence of left and right rotations to the given string and return the final string.
SO WHAT DO YOU THINK ?
If you have any suggestions or ideas then please do share with us.
Contact with me