← Adobe questions
CodingReported in a candidate post, Jul 2025

Second largest element

Filed under Adobe · Also reported at BARC, Quantiphi, Texas Instrumentation, Unthinkable Solutions, Walmart

Given an array of integers, return the second largest distinct element, or None if there is no such element (for example when the array has fewer than two distinct values).

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 Adobe questions

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