InterviewDigestInterviewDigest

OA Practice Workspace

OA2026-08-13

Given an array of strings, perform operations based on string length

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

Given an array of strings, group the strings into a new data structure where each key represents a unique string length and the corresponding value is a list of all strings from the input that share that length. After grouping, return the collection of strings associated with the length that appears most frequently in the input array.

Context & Summary

Online Assessment Round

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