Focus on Correctness (2024 NG)
Problem Overview
- Core: From an array of digits, choose up to three in order to form the largest number.
- Input/Output: Input is a list of digits 0–9; output is the maximum possible number; selection must preserve original order; choose at most 3 digits.
- Context: Array manipulation and number construction in practical data processing scenarios.
- Source: Google interviews coding interview problem; common interview question; custom test cases may be required.
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Input Variables
Execution Result:
