InterviewDigestInterviewDigest

OA Practice Workspace

Technical2026-08-16

Valid Mountain Array

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

Given an array of integers, determine if it represents a valid mountain array by verifying that it contains at least three elements and strictly increases to a single peak element before strictly decreasing to the end of the array. Return true if the sequence follows this pattern, and false otherwise.

Context & Summary

Held on BluePages platform for 1 hour. Focused on DSA with questions designed to assess thought process and coding skills.

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