Problem Brief
Build Maximum Integer from Subarray (Google India)
PHONE SCREEN
See Google online assessment and hiring insights
The question is to build an integer which is maximum from a subarray of size k.
For example, given an array [4, 9, 0, 2] and k = 2, the answer is 92.
1Example 1
Input
nums = [4, 9, 0, 2], k = 2
Output
92
Explanation
N/A for now 🥹
Constraints
Limits and guarantees your solution can rely on.
🍉🍉