Challenge Active

The Weekly Challenge

You don't have   to be an   expert

The Weekly Challenge
Task #1 Popular Word

You are given a string paragraph and an array of the banned words. Write a script to return the most popular word that is not banned. It is guaranteed there is at least one word that is not banned and the answer is unique. The words in paragraph are case-insensitive and the answer should be in lowercase. The words can not contain punctuation symbols.

Task #2 Scramble String

You are given two strings A and B of the same length. Write a script to return true if string B is a scramble of string A otherwise return false. String B is a scramble of string A if A can be transformed into B by a single (recursive) scramble operation.

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