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: Counter Integers
10. TASK #2: Nice String
HEADLINES
Welcome to the Week #329
of The Weekly Challenge
.
Today is the first Monday
of the month and time to declare the next chanpion.
With greate pleasure, I announce Yitzchak Scott-Thoennes
as the next Champion of the Month
. Congratulations Yitzchak
.
Holiday season continued and it reflects on weekly contributions as well. Having said, the hardcore supporter still hacking while on holiday.
You all know, who I am talking about. So thank you all for your support and encouragements.
Special thanks to all who shares blog post.
Happy Hacking!!
Last 5 weeks
mainstream contribution stats. Thank you Team PWC
for your support and encouragements.
Week |
Perl |
Raku |
Blog |
324 |
50 | 24 | 17 |
325 |
46 | 25 | 29 |
326 |
48 | 27 | 28 |
327 |
48 | 24 | 15 |
328 |
42 | 22 | 20 |
Last 5 weeks
guest contribution stats. Thank you each and every guest contributors for your time and efforts.
Week |
Guests |
Contributions |
Languages |
324 |
12 | 38 | 15 |
325 |
12 | 59 | 21 |
326 |
13 | 64 | 23 |
327 |
14 | 36 | 13 |
328 |
10 | 29 | 10 |
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 (3458)
2. Rust (936)
3. Ruby (805)
4. Haskell (789)
5. Lua (731)
6. C++ (629)
7. C (594)
8. JavaScript (568)
9. Go (505)
10. BQN (448)
Blogs with Creative Title
1. A Good String Is Irreplaceable by Adam Russell.
2. All Good by Arne Sommer.
3. Kinda Pre-Disastered by Dave Jacoby.
4. Replace and Remove by Jorg Sommrey.
5. regexs everywhere! by Luca Ferrari.
6. Regexes Replacing All Good Strings? by Matthias Muth.
7. Good Old-Fashioned Replacement Boy? by Packy Anderson.
8. Questions are good by Peter Campbell Smith.
9. Good Replacement by Roger Bell_West.
10. A good question by Simon Green.
11. In case of doubt, use a regex by Yitzchak Scott-Thoennes.
12. Property is Theft, Theft is Good by Yitzchak Scott-Thoennes.
GitHub Repository Stats
1. Commits: 44,247 (+102
)
2. Pull Requests: 12,289 (+46
)
3. Contributors: 262 (+1
)
4. Fork: 330 (+1
)
5. Stars: 194
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 - 328 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
Benjamin Andre, an expert Rust
hacker from Paris
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 #328.
Please find past solutions by respected guests. Please share your creative solutions in other languages.
Task 1: Counter Integers
Submitted by: Mohammad Sajid Anwar
You are given a string containing only lower case English letters and digits.
Write a script to replace every non-digit character with a space and then return all the distinct integers left.
Example 1
Input: $str = "the1weekly2challenge2"
Output: 1, 2
2 is appeared twice, so we count it one only.
Example 2
Input: $str = "go21od1lu5c7k"
Output: 21, 1, 5, 7
Example 3
Input: $str = "4p3e2r1l"
Output: 4, 3, 2, 1
Task 2: Nice String
Submitted by: Mohammad Sajid Anwar
You are given a string made up of lower and upper case English letters only.
Write a script to return the longest substring of the give string which is nice. A string is nice if, for every letter of the alphabet that the string contains, it appears both in uppercase and lowercase.
Example 1
Input: $str = "YaaAho"
Output: "aaA"
Example 2
Input: $str = "cC"
Output: "cC"
Example 3
Input: $str = "A"
Output: ""
No nice string found.
Last date to submit the solution 23:59 (UK Time) Sunday 13th July 2025
.