Interview DigestInterview Digest

OA Practice Workspace

Technical2026-09-29

Find the second largest element in an array.

AI-Expanded — inferred from the question title, not from the original candidate report

Given an array of integers, write a function to identify and return the second largest unique element present in the collection. If the array contains fewer than two distinct elements, the function should return an appropriate indicator, such as null or an error value.

Context & Summary

The candidate was asked a standard array manipulation problem to test basic algorithmic proficiency.

💻 Coding practice works best on desktop.
Code editors are too cramped on mobile screens.