The Weekly Challenge - 255

Monday, Feb 5, 2024| Tags: Perl, Raku

TABLE OF CONTENTS


01. HEADLINES

02. SPONSOR

03. RECAP

04. PERL REVIEW

05. RAKU REVIEW

06. CHART

07. NEW MEMBERS

08. GUESTS

09. TASK #1: Odd Character

10. TASK #2: Most Frequent Word


HEADLINES


Welcome to the Week #255 of The Weekly Challenge.

Let us all welcome, Archar Gelod to Team PWC. He shared his first contributions in Nim.

Recently joined guest contributor, Alex Wilson, shared his first blog post where he discussed his solutions in Uiua.

Today is the first Monday of the month and time to declare our next champion. With pleasure, I announce Nelo Tovar as the next champion of The Weekly Challenge. Congratulation Nelo.

I forgot to share a suggestion by a very respected member of Perl community. He suggested a fun challenge, Prisoner’s dilemma. If you want to play the game then you share your prisoner script written in Perl. Once I have all the contributions then I can test them to see which out of all the prisoners wins. I am looking forward to your participations.


Last 5 weeks mainstream contribution stats. Thank you Team PWC for your support and encouragements.

  Week      Perl       Raku       Blog   
   250       56       34       27   
   251       51       33       23   
   252       54       35       23   
   253       53       29       25   
   254       53       32       26   

Last 5 weeks guest contribution stats. Thank you each and every guest contributors for your time and efforts.

  Week      Guests       Contributions       Languages   
   250       16       82       23   
   251       16       53       16   
   252       19       72       22   
   253       17       60       19   
   254       17       62       20   

TOP 10 Guest Languages


Do you see your favourite language in the Top 10? If not then why not contribute regularly and make it to the top.

 1. Python     (2179)
 2. Ruby       (648)
 3. Haskell    (629)
 4. Lua        (574)
 5. Rust       (516)
 6. C          (477)
 7. C++        (476)
 8. Go         (323)
 9. BQN        (315)
10. JavaScript (315)

Blogs with Creative Title


1. Reverse Power by Arne Sommer.

2. reverse_vowels(‘Weekly Challenge’) eq ‘Weekly Challenge’ by Dave Jacoby.

3. Reverse Power by Jorg Sommrey.

4. vowels and roots by Luca Ferrari.

5. Reverse Vowels by the Power of Three by Packy Anderson.

6. Triumvirate and Treamviruti? by Peter Campbell Smith.

7. Reverse the Power of Three Vowels by Roger Bell_West.

8. Power to the vowels by Simon Green.


GitHub Repository Stats


1. Commits: 36,427 (+105)

2. Pull Requests: 9,503 (+37)

3. Contributors: 243 (+1)

4. Fork: 306 (+1)

5. Stars: 167 (+1)



In the year 2024, we are looking for new sponsor for monthly winner. If anyone interested please get in touch with us at perlweeklychallenge@yahoo.com. Thanks for your support in advance.


RECAP


Quick recap of The Weekly Challenge - 254 by Mohammad S Anwar.


PERL REVIEW


If you missed any past reviews then please check out the collection.


RAKU REVIEW


If you missed any past reviews then please check out the collection.


CHART


Please take a look at the charts showing interesting data.

I would like to THANK every member of the team for their valuable suggestions. Please do share your experience with us.


NEW MEMBERS


Archar Gelod, an expert Nim hacker joined Team PWC.

Please find out How to contribute?, if you have any doubts.

Please try the excellent tool EZPWC created by respected member Saif Ahmed of Team PWC.


GUESTS


Please check out the guest contributions for the Week #254.

Please find past solutions by respected guests. Please share your creative solutions in other languages.


Task 1: Odd Character

Submitted by: Mohammad Sajid Anwar

You are given two strings, $s and $t. The string $t is generated using the shuffled characters of the string $s with an additional character.

Write a script to find the additional character in the string $t..

Example 1

Input: $s = "Perl" $t = "Preel"
Output: "e"

Example 2

Input: $s = "Weekly" $t = "Weeakly"
Output: "a"

Example 3

Input: $s = "Box" $t = "Boxy"
Output: "y"

Task 2: Most Frequent Word

Submitted by: Mohammad Sajid Anwar

You are given a paragraph $p and a banned word $w.

Write a script to return the most frequent word that is not banned.

Example 1

Input: $p = "Joe hit a ball, the hit ball flew far after it was hit."
       $w = "hit"
Output: "ball"

The banned word "hit" occurs 3 times.
The other word "ball" occurs 2 times.

Example 2

Input: $p = "Perl and Raku belong to the same family. Perl is the most popular language in the weekly challenge."
       $w = "the"
Output: "Perl"

The banned word "the" occurs 3 times.
The other word "Perl" occurs 2 times.


Last date to submit the solution 23:59 (UK Time) Sunday 11th February 2024.


SO WHAT DO YOU THINK ?

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

Contact with me