InterviewDigestInterviewDigest

OA Practice Workspace

Technical2026-08-13

Find max element from array

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

Given an array of integers, write a function that traverses the collection to identify and return the largest value present. If the array is empty, your function should handle the edge case appropriately by returning null or throwing an exception.

Context & Summary

Personal Interview Round 1

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