CodingEasy
Remove Non-Square Elements and Generate Prime Subsequence
Filed under CEDCOSS
The question
Remove elements from an array that are not perfect squares, and generate a prime subsequence with alternating prime and non-prime numbers to minimize a penalty.
No write-up yet. Related questions below have one.
Related CEDCOSS questions
Collected from public candidate posts and coding forums. Updated Nov 2026.