The Weekly Challenge - 108

Monday, Apr 12, 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: Locate Memory

10. TASK #2: Bell Numbers


HEADLINES


For the second week in a row, I have participated in the weekly challenge. Looks like, I am getting there, still a long way to my good old routine. I enjoy the company of Lance Wicks and kind of getting motivated as well. This week also Lance shared live video session, so am I. Please find below the links for the two.

Colin Crain surprised us this week by sharing the blog posts for the past 5 weeks as well as current week. It is a big deal since he is also our in-house Perl Reviewer. I would like to share his work with the team so that we can also benefit by his blogs.

Week 101: Spiraling Down to the Center of a Triangle

Week 102: Making A Rare Hash of It

Week 103: Arise Metal Monkey Man!

Week 104: This FUSCing Nim Game Is Fixed!

Week 105: The Root of a Name


Lance Wicks: Self-descriptive Numbers




Mohammad Anwar: Self-descriptive Numbers




Let us share some interesting stats from the GitHub repository.

1. Commits: 15,803 (+163)

2. Pull Requests: 3,869 (+44)

3. Contributors: 162

4. Fork: 204

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


PERL REVIEW


Please check out Perl solutions review of the “Perl Weekly Challenge - 105” 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 #107.

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


TASK #1 › Locate Memory

Submitted by: Mohammad S Anwar

Write a script to declare a variable or constant and print it’s location in the memory.


TASK #2 › Bell Numbers

Submitted by: Mohammad S Anwar

Write a script to display top 10 Bell Numbers. Please refer to wikipedia page for more informations.

Example:

B0: 1 as you can only have one partition of zero element set

B1: 1 as you can only have one partition of one element set {a}.

B2: 2

   {a}{b}
   {a,b}

B3: 5

   {a}{b}{c}
   {a,b}{c}
   {a}{b,c}
   {a,c}{b}
   {a,b,c}

B4: 15

   {a}{b}{c}{d}
   {a,b,c,d}
   {a,b}{c,d}
   {a,c}{b,d}
   {a,d}{b,c}
   {a,b}{c}{d}
   {a,c}{b}{d}
   {a,d}{b}{c}
   {b,c}{a}{d}
   {b,d}{a}{c}
   {c,d}{a}{b}
   {a}{b,c,d}
   {b}{a,c,d}
   {c}{a,b,d}
   {d}{a,b,c}


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


SO WHAT DO YOU THINK ?

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

Contact with me