← Nagarro questions
CodingHigh

Find second largest number, decodings, and coprime pairs

Filed under Nagarro

Solve three sub-problems: 1) Find the second largest number in an array. 2) Count total possible decodings of a digit sequence (like '12' -> 'AB' or 'L'). 3) Count coprime pairs (x, y) less than n.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Nagarro questions

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