Citadel Interview Question
CitadelSoftware Engineer Intern Interview
Find the amount of pairs of indices (i, j) where v[i] = v[j] = v[i+1] + v[i+2] + ... + v[j- 1]. O(n log n)
Unlock the Full Solution
Enter your email to get instant access to the complete solution, explanation, and similar practice problems.