CodingReported in a candidate post, Aug 2020
The Longest Prime Sub-array
Filed under Amadeus
The question
Find the length of the longest contiguous sub-array where every element is a prime number.
No write-up yet. Related questions below have one.
Related Amadeus questions
Collected from public candidate posts and coding forums. Updated Nov 2026.