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: Replace all ?
10. TASK #2: Good String
HEADLINES
Welcome to the Week #328
of The Weekly Challenge
.
Let’s us all welcome, Ulrich Reining
, an expert Perl
hacker from Germany
. Thanks for the first contributions in Perl.
Looks like holiday season kicked in, we still managed to get decent amount of contributions.
Have fun and enjoy your break.
Happy Hacking!!
Last 5 weeks
mainstream contribution stats. Thank you Team PWC
for your support and encouragements.
Week |
Perl |
Raku |
Blog |
323 |
46 | 22 | 26 |
324 |
50 | 24 | 17 |
325 |
46 | 25 | 29 |
326 |
48 | 27 | 28 |
327 |
48 | 24 | 15 |
Last 5 weeks
guest contribution stats. Thank you each and every guest contributors for your time and efforts.
Week |
Guests |
Contributions |
Languages |
323 |
12 | 60 | 21 |
324 |
12 | 38 | 15 |
325 |
12 | 59 | 21 |
326 |
13 | 64 | 23 |
327 |
14 | 36 | 13 |
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 (3448)
2. Rust (930)
3. Ruby (805)
4. Haskell (787)
5. Lua (730)
6. C++ (627)
7. C (594)
8. JavaScript (568)
9. Go (503)
10. BQN (448)
Blogs with Creative Title
1. Missing Integers Don’t Make Me MAD, Just Disappointed by Adam Russell.
2. Missing Mad by Arne Sommer.
3. Absolutely Missing Differences by Jorg Sommrey.
4. Missing and Mad by Matthias Muth.
5. Missing Absolute Distance by Packy Anderson.
6. Missing and mad by Peter Campbell Smith.
7. I Miss My Mind the Most by Roger Bell_West.
GitHub Repository Stats
1. Commits: 44,145 (+106
)
2. Pull Requests: 12,243 (+37
)
3. Contributors: 261 (+1
)
4. Fork: 329 (+1
)
5. Stars: 194 (+2
)
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 - 327 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
Ulrich Reining, an expert Perl
hacker from Germany
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 #327.
Please find past solutions by respected guests. Please share your creative solutions in other languages.
Task 1: Replace all ?
Submitted by: Mohammad Sajid Anwar
You are given a string containing only lower case English letters and ?
.
Write a script to replace all ?
in the given string so that the string doesn’t contain consecutive repeating characters.
Example 1
Input: $str = "a?z"
Output: "abz"
There can be many strings, one of them is "abz".
The choices are 'a' to 'z' but we can't use either 'a' or 'z' to replace the '?'.
Example 2
Input: $str = "pe?k"
Output: "peak"
Example 3
Input: $str = "gra?te"
Output: "grabte"
Task 2: Good 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 good string of the given string. A string is called good string
if it doesn’t have two adjacent same characters, one in upper case and other is lower case.
Example 1
Input: $str = "WeEeekly"
Output: "Weekly"
We can remove either, "eE" or "Ee" to make it good.
Example 2
Input: $str = "abBAdD"
Output: ""
We remove "bB" first: "aAdD"
Then we remove "aA": "dD"
Finally remove "dD".
Example 3
Input: $str = "abc"
Output: "abc"
Last date to submit the solution 23:59 (UK Time) Sunday 6th July 2025
.