Aaahz Prevect
Ruminations and maunderings
Raku Weekly Challenge #78, task 2
The second challenge is a little more abstract: You are given array @A containing positive numbers and @B containing one or more indices from the array @A. Write a script to left rotate @A so that the number at the first index of @B becomes the first element in the array. Similarly, left rotate @A…
Raku Weekly Challenge #78 Task 1
This week’s first challenge is as follows: Write a script to find all leader elements in the input array @A containing distinct integers. Print (0) if none is found. An element is a leader if it is greater than all elements to its right side. So far as I can determine the only way that…
Intro
This blog is really just a public journal, a way to give some form and structure to my random musings. Sure, but why a blog, why not a journal? Why not? It’s convenient. Some of it could conceivably be of interest to other people. The act of structuring my thoughts to write them down ensures…