CodingReported in a candidate post, Aug 2020
Sub-arrays Consisting of Prime Numbers Only
Filed under DE Shaw
The question
Given an array of positive integers, find the number of sub-arrays that consist entirely of prime numbers.
No write-up yet. Related questions below have one.
Related DE Shaw questions
Collected from public candidate posts and coding forums. Updated Nov 2026.