The Weekly Challenge - 182

Monday, Sep 12, 2022| 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: Max Index

10. TASK #2: Common Path


HEADLINES


Welcome to Week #182 of the weekly challenge.

Today, we are giving away Token #5 to Solathian for the book, Learning Perl Exercises by brian d foy. I will share the details with you in a separate email.

Past Winners

1) Cheok-Yin Fung
2) W. Luis Mochan
3) Robert DiCicco
4) Kueppo Wesley

Welcome back, Dave Jacoby after the break and thanks for your contributions.

This week, I could only get the Perl solutions done.


TOP 10 Guest Languages


This week C++ moved up one place to rank #5.

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

 1. Python  (1087)
 2. Haskell (491)
 3. Ruby    (384)
 4. Lua     (380)
 5. C++     (265)
 6. C       (264)
 7. Go      (222)
 8. Rust    (220)
 9. Node.js (191)
10. Awk     (186)

Blogs with Creative Title


1. These Sentences Are Getting Hot by Adam Russell.

2. Hot Sentence by Arne Sommer.

3. An Orderly Sentencing by Colin Crain.

4. Back In The Saddle by Dave Jacoby.

5. Alphabetical and days hotter sentences by Peter Campbell Smith.

6. Hot Sentence by Roger Bell_West.


GitHub Repository Stats


1. Commits: 27,683 (+111)

2. Pull Requests: 6,721 (+31)

3. Contributors: 205

4. Fork: 260

5. Stars: 143



Our solo sponsor Pete Sergeant has been a great support to keep us motivated. We are lucky that he agreed to continue the journey with us in the year 2022. I would like to personally thank Pete and his entire team for their generosity. It would be great if we could add few more to sponsor the prize money so that we could go back and declare weekly champions as we have done in the past. I hope and wish this will become possible in 2022. The amount doesn’t have to be huge. However, it would be nice to show off bunch of supporters. If an organisation comes forward and supports us then that would be the ultimate achievement.


RECAP


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


PERL REVIEW


Please check out Perl solutions review of The Weekly Challenge - 175 by Colin Crain.

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 #181.

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


Task 1: Max Index

Submitted by: Mohammad S Anwar

You are given a list of integers.

Write a script to find the index of the first biggest number in the list.

Example

Input: @n = (5, 2, 9, 1, 7, 6)
Output: 2 (as 3rd element in the list is the biggest number)


Input: @n = (4, 2, 3, 1, 5, 0)
Output: 4 (as 5th element in the list is the biggest number)

Task 2: Common Path

Submitted by: Julien Fiegehenn

Given a list of absolute Linux file paths, determine the deepest path to the directory that contains all of them.

Example

Input:
    /a/b/c/1/x.pl
    /a/b/c/d/e/2/x.pl
    /a/b/c/d/3/x.pl
    /a/b/c/4/x.pl
    /a/b/c/d/5/x.pl

Ouput:
    /a/b/c


Last date to submit the solution 23:59 (UK Time) Sunday 18th September 2022.


SO WHAT DO YOU THINK ?

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

Contact with me