TABLE OF CONTENTS
1. HEADLINES
2. SPONSOR
3. RECAP
4. PERL REVIEW
5. RAKU REVIEW
6. CHART
7. NEW MEMBERS
8. GUESTS
9. TASK #1: Acronyms
10. TASK #2: Friendly Strings
HEADLINES
Welcome to the Week #317
of The Weekly Challenge
.
This week turned out to be a welcome back
week.
I’m super happy to see so many team members back to the fold and shared their story.
I would like to mention one name, Ted Leahy
, who last contributed in the Week #080
. Thanks for the contributions in Perl.
With so much energy, the contributions jumped up compared to last two weeks.
Having said, I’m still waiting for the first week in the year 2025
to cross the magical number of 100+
contributions.
Let us all make that happen soon together.
Last 5 weeks
mainstream contribution stats. Thank you Team PWC
for your support and encouragements.
Week |
Perl |
Raku |
Blog |
312 |
48 | 21 | 26 |
313 |
53 | 19 | 13 |
314 |
46 | 19 | 14 |
315 |
42 | 17 | 14 |
316 |
48 | 19 | 18 |
Last 5 weeks
guest contribution stats. Thank you each and every guest contributors for your time and efforts.
Week |
Guests |
Contributions |
Languages |
312 |
13 | 56 | 20 |
313 |
11 | 49 | 18 |
314 |
12 | 50 | 18 |
315 |
12 | 56 | 20 |
316 |
11 | 52 | 19 |
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 (3309)
2. Rust (882)
3. Ruby (787)
4. Haskell (765)
5. Lua (706)
6. C++ (605)
7. C (590)
8. JavaScript (550)
9. Go (475)
10. BQN (430)
Blogs with Creative Title
1. Going Around in Sequential Circles by Adam Russell.
2. Subcircular by Arne Sommer.
3. Not Gonna Reference John by Dave Jacoby.
4. Regular Sequences by Jorg Sommrey.
5. coming back from PostgreSQL OpenDay by Luca Ferrari.
6. Ring-a-ring-a-roses or a sack race? by Matthias Muth.
7. The Sequence Goes Round and Round… by Packy Anderson.
8. Tricky characters by Peter Campbell Smith.
9. Circular Reasoning by Roger Bell_West.
10. Sub circular by Simon Green.
GitHub Repository Stats
1. Commits: 43,077 (+84
)
2. Pull Requests: 11,850 (+32
)
3. Contributors: 258
4. Fork: 326
5. Stars: 189
SPONSOR
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 - 316 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
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 #316.
Please find past solutions by respected guests. Please share your creative solutions in other languages.
Task 1: Acronyms
Submitted by: Mohammad Sajid Anwar
You are given an array of words and a word.
Write a script to return true if concatenating the first letter of each word in the given array matches the given word, return false otherwise.
Example 1
Input: @array = ("Perl", "Weekly", "Challenge")
$word = "PWC"
Output: true
Example 2
Input: @array = ("Bob", "Charlie", "Joe")
$word = "BCJ"
Output: true
Example 3
Input: @array = ("Morning", "Good")
$word = "MM"
Output: false
Task 2: Friendly Strings
Submitted by: Mohammad Sajid Anwar
You are given two strings.
Write a script to return true if swapping any two letters in one string match the other string, return false otherwise.
Example 1
Input: $str1 = "desc", $str2 = "dsec"
Output: true
Example 2
Input: $str1 = "fuck", $str2 = "fcuk"
Output: true
Example 3
Input: $str1 = "poo", $str2 = "eop"
Output: false
Example 4
Input: $str1 = "stripe", $str2 = "sprite"
Output: true
Last date to submit the solution 23:59 (UK Time) Sunday 20th April 2025
.