The Weekly Challenge - 315

Monday, Mar 31, 2025| 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: Find Words

10. TASK #2: Find Third


HEADLINES


Welcome to the Week #315 of The Weekly Challenge.

Let’s all welcome, Ashwin Shenoy, from India to Team PWC. Thanks Ashwin for your first contributions in Dart and Python.

Thank you, E. Choroba, for getting back to me with PayPal details. I am glad the payment is now done. It has been waiting since November 2024. I am now waiting for one more member, Laurent Rosenfeld, to please share your details as well.

Ramadan is over now. Hopefully I’ll have more energy and time to put in.

The weather in England is getting better for the last few days. I can’t wait for the summer. I have had enough of winter.

I have taken a day off work today, so that I can spend some quality time with my family and celebrate the Idd festival.

I wish Idd Mubarak to all team members who celebrate the festival.

You all have a wonderful Monday to start the week.

Please continue hacking and sharing.



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

  Week      Perl       Raku       Blog   
   310       44       19       13   
   311       42       21       16   
   312       46       21       26   
   313       51       19       13   
   314       42       17       13   

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

  Week      Guests       Contributions       Languages   
   310       11       44       16   
   311       11       46       17   
   312       13       56       20   
   313       11       49       18   
   314       12       50       18   

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     (3285)
 2. Rust       (872)
 3. Ruby       (783)
 4. Haskell    (761)
 5. Lua        (700)
 6. C++        (601)
 7. C          (590)
 8. JavaScript (546)
 9. Go         (471)
10. BQN        (426)

Blogs with Creative Title


1. Equally Sorted by Adam Russell.

2. Sort of Equal by Arne Sommer.

3. Monotonous Prefixes by Jorg Sommrey.

4. Count Any Zipped Column by Matthias Muth.

5. Even more strings by Peter Campbell Smith.

6. Stringy Column by Roger Bell_West.

7. Sorted equally by Simon Green.


GitHub Repository Stats


1. Commits: 42,902 (+80)

2. Pull Requests: 11,782 (+31)

3. Contributors: 258 (+1)

4. Fork: 327

5. Stars: 189 (+1)



With start of Week #268, we have a new sponsor Lance Wicks until the end of year 2025. Having said we are looking for more sponsors so that we can go back to weekly 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 - 314 by Mohammad Sajid 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


Ashwin Shenoy, an expert Python/Dart hacker from India joined the 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 #314.

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


Task 1: Find Words

Submitted by: Mohammad Sajid Anwar

You are given a list of words and a character.

Write a script to return the index of word in the list where you find the given character.


Example 1

Input: @list = ("the", "weekly", "challenge")
       $char = "e"
Output: (0, 1, 2)

Example 2

Input: @list = ("perl", "raku", "python")
       $char = "p"
Output: (0, 2)

Example 3

Input: @list = ("abc", "def", "bbb", "bcd")
       $char = "b"
Output: (0, 2, 3)

Task 2: Find Third

Submitted by: Mohammad Sajid Anwar

You are given a sentence and two words.

Write a script to return all words in the given sentence that appear in sequence to the given two words.


Example 1

Input: $sentence = "Perl is a my favourite language but Python is my favourite too."
       $first = "my"
       $second = "favourite"
Output: ("language", "too")

Example 2

Input: $sentence = "Barbie is a beautiful doll also also a beautiful princess."
       $first = "a"
       $second = "beautiful"
Output: ("doll", "princess")

Example 3

Input: $sentence = "we will we will rock you rock you.",
       $first = "we"
       $second = "will"
Output: ("we", "rock")


Last date to submit the solution 23:59 (UK Time) Sunday 6th April 2025.


SO WHAT DO YOU THINK ?

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

Contact with me