DYNA Fall 2025: 29-30 September. More info

APL Quest: October 2025 Round-Up

Each Monday we share a new challenge from APL Quest – a collection of APL problems that test your array-thinking and highlight the expressive power of APL. These are all based on problems posed in the APL Problem Solving Competition over the years. The APL Wiki has more information on APL Quest.

If you missed any in October, here’s your chance to catch up and try them yourself

2013-1: Seems a Bit Odd To Me

APL Quest Link: 2013-1: Seems a Bit Odd To Me

Write a function to produce a vector of the first n odd numbers.

Video thumbnail
Click to load video from YouTube. This will enable YouTube tracking. YouTube Privacy Information

2013-2: Making The Grade

APL Quest Link: 2013-2: Making The Grade

Write a function which returns the percent (from 0 to 100) of passing (65 or higher) grades in a vector of grades.

Video thumbnail
Click to load video from YouTube. This will enable YouTube tracking. YouTube Privacy Information

2013-3: What Is In a Word

APL Quest Link: 2013-3: What Is In a Word

Write a function which returns the number of words in the given character scalar or vector.

For simplicity’s sake, you can consider the space character ' ' to be the only word separator.

Video thumbnail
Click to load video from YouTube. This will enable YouTube tracking. YouTube Privacy Information

2013-4: Keeping Things In Balance

APL Quest Link: 2013-4: Keeping Things In Balance

Write a function which returns a 1 if the opening and closing parentheses in a character vector are balanced, or a zero otherwise.

Video thumbnail
Click to load video from YouTube. This will enable YouTube tracking. YouTube Privacy Information

Try them yourself

All problems include sample solutions, explanations, and discussions. Visit APL Quest to browse the full archive.

More Blog Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

Get Support

Technical advice and assistance on all aspects of Dyalog usage is available by e-mail (support@dyalog.com) and/or telephone (+44 1256 830030 – limited to U.K. office hours). Limited advice on design and coding is available, but is not intended to replace the use of the printed and on-line documentation. Except when reporting an issue with the software, users are encouraged to seek advice from the user community via the Dyalog Forum (reading the content of the forums does not require membership).

Search our website...
Dyalog Ltd