The Weekly Challenge - 115

Monday, May 31, 2021| 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: String Chain

10. TASK #2: Largest Multiple


HEADLINES


Welcome to the Week #115 with the interview with Tyler Wardhaugh.

Last week started with the pleasant surprise from Dave Cross who shared Perl solutions first thing on Monday morning.

I would also like to mention another name Christian Jaeger who joined the Team PWC recently introduced FunctionalPerl and shared his solution using it.

Welcome back Richard Park and thanks for sharing APL solutions.

It is always pleasure to see Lance Wicks back in action. Thanks for sharing Perl solution. However I do miss your live video session.

I am back in action after a gap of 2 weeks. Reason for the break is I am currently busy getting adjusted to the new role I have taken up. I even managed to get the videos published as well. I really enjoy making videos.


Mohammad Anwar: Next Palindrome Number




Mohammad Anwar: Higher Integer Set Bits




Let us share some interesting stats from the GitHub repository.

1. Commits: 17,083 (+180)

2. Pull Requests: 4,167 (+41)

3. Contributors: 166

4. Fork: 211 (+2)

5. Stars: 91


Last but not least, I would like to thank each and every member for their support and encouragement.



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 2021. 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 2021. 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 - 114” by Mohammad S Anwar.


PERL REVIEW


Please check out Perl solutions review of the “Perl Weekly Challenge - 112” 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 checkout the guest contributions for the Week #113.

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


TASK #1 › String Chain

Submitted by: Mohammad S Anwar

You are given an array of strings.

Write a script to find out if the given strings can be chained to form a circle. Print 1 if found otherwise 0.

A string $S can be put before another string $T in circle if the last character of $S is same as first character of $T.

Examples:

Input: @S = ("abc", "dea", "cd")
Output: 1 as we can form circle e.g. "abc", "cd", "dea".

Input: @S = ("ade", "cbd", "fgh")
Output: 0 as we can't form circle.

TASK #2 › Largest Multiple

Submitted by: Mohammad S Anwar

You are given a list of positive integers (0-9), single digit.

Write a script to find the largest multiple of 2 that can be formed from the list.

Examples

Input: @N = (1, 0, 2, 6)
Output: 6210

Input: @N = (1, 4, 2, 8)
Output: 8412

Input: @N = (4, 1, 7, 6)
Output: 7614


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


SO WHAT DO YOU THINK ?

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

Contact with me