ByteDance / TikTokCoding·30 minMembers
Contiguous Subarray with Largest Min + Max
Members only
A custom 30-minute coding question: given a positive integer array, find a contiguous subarray (length ≥ 2) maximizing `min + max`, return the sum.
SWE
array
two-pointer
math
medium
Frequency
Single report
Last asked
2025-11-26
Stage
phone-screen
Log in to continue reading the full content
