RECAP - Perl Weekly Challenge - 004

Sunday, Apr 21, 2019| Tags: Perl, Raku

For the first time ever, I published RECAP blog before the weekly challenge. It is the sign that things are settling down. Members are using Pull Request more frequently to submit the solutions. Last Sunday, when I made the Challenge 004 public, I couple of people responded in no time.

The first person was Kivanc Yazan and he announced it on Twitter.

Kivanc

The next person followed him was @smokemachine. He has been regular since last week.

Smokemachine Smokemachine

Challenge 1 (Perl 5 only)

Abigail joined last week and submitted his solutions.

Adam Russell solution for the second challenge of the week is worth reading. Please take a look here.

Alicia Bielsa is another new member joined last week and submitted solutions to both challenges. I must point out the first solution using handy trick. I must confes that I didn’t know about it before.

Andrezgz also submitted the similar solution to the challenge 1 but using different library. Nice to know variations.

Athanasius presented another variations using the trick FILE. Short and sweet solution.

Daniel Mantovani solution can be hard to read. I must say the logic is hard to decode. Do you want to try? Checkout the code.

Duncan C. White has taken an absolutely different approach. Initially I had doubt whether it would print the desired result. But I was pleasantly surprised by the result. Must check his solution.

Gustavo Chaves submitted the solution using the standard library. It is one of the most popular approach used by many members.

Jaldhar H. Vyas used unique approach to solve the challenge 1. Please take a look.

Dr James A Smith submitted shortest solution for challenge 1.

Jo Christian Oterhals solution is also unique in approach.

I loved Joelle Maslak solution to the challenge 1.

John Barrett solution was also unique using external library.

Kian-Meng Ang pleasantly surprised me with the solution for the challenge 1.

Kivanc Yazan submitted the only solution, which I found very different.

Lars Balker solution is also very unique.

Laurent Rosenfeld is one of the few members who submit solutions in Perl 5 and Perl 6. This time also his solution is truly unique.

Nick Logan polyglot solution is always fun to read as always.

Maxim Kolodyazhny should get the most creative solution award. Why? Take a look at his solution.

Ruben Westerberg solution is always fun to read.

Sergio Iglesias solution is a treat.

Veesh Goldman used nice little hack for challenge 1 solution.

Challenge 2 (Perl 5 only)

Andrezgz solution for challenge 2 is worth reading.

Duncan C. White solution to the second challenge is elgantly simple.

Nick Logan approach to the second challenge is also interesting.

Maxim Kolodyazhny solution to the second challenge is also very interesting.

Neil Bowers submitted only solution to challenge 2, which was short and sweet.

Veesh Goldman second solution is worth taking a look.

Blogs

Following blogs have been reported last week. Each blog is a text book in itself as it teaches you so many things. I enjoyed reading each and every blog. Please do read them when you get time.

Adam Russell

https://adamcrussell.livejournal.com/1247.html

Mark Senn

Mark Senn

http://engineering.purdue.edu/~mark/pwc-004.pdf

Laurent Rosenfeld

Laurent Rosenfeld

http://blogs.perl.org/users/laurent_r/2019/04/perl-weekly-challenge-week-4.html

Gustavo Chaves

https://blog.gnustavo.com/2019/04/perl-weekly-challenge-004.html

Arne Sommer

Arne Sommer

https://perl6.eu/piermutations.html

Simon Proctor

Simon Proctor

http://www.khanate.co.uk/blog/2019/04/21/perl-weekly-week-4/

Jo Christian Oterhals

https://medium.com/@jcoterhals/perl-6-small-stuff-17-a-weekly-challenge-of-big-pis-bags-and-modules-6c6c0867cb0a

Last but not the least, keep sharing your solutions and thanks for making it so fun and enjoyable.

SO WHAT DO YOU THINK ?

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

Contact with me