Challenge Active

The Weekly Challenge

You don't have   to be an   expert

The Weekly Challenge
Task #1 Letters Only Hex

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'.

Task #2 Circular String Rotations

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.

Design Patterns in Modern Perl
📖 New Book by Mohammad Sajid Anwar

Design Patterns in Modern Perl

Classic object-oriented patterns in today's Perl - using core Perl, Moo and Object::Pad. Cleaner, more maintainable code.

View Book →

SO WHAT DO YOU THINK ?

If you have any suggestions or ideas then please do share with us.

Contact with me