Domanda di colloquio di Wells Fargo

It was a DP question based on finding subarrays.