← Mastercard questions
CodingModerateReported in a candidate post, Aug 2020

Print Primes and Make Array Palindromic

Filed under Mastercard

The question

First, print all prime numbers from 1 to n. Second, make an array palindromic by adding one more adjacent element.

No write-up yet. Related questions below have one.

Related Mastercard questions

Collected from public candidate posts and coding forums. Updated Nov 2026.