Problems
Contest
Discuss
Interview
Online Interview
Assessment
Store
Redeem
Premium
For you
For you
Create
Most Votes
All Time
Newest
No search result
Create
Nutanix | OA 2019 | Tree Enigma
Arvind Agarwal
11195
Nutanix
Online Assessment
Interview
Input:
7
3 7
1 7
7 4
3 2
1 6
5 1
1 0 1 1 1 1 0
0 0 1 0 1 0 1
Output: 3
44
18
Comments (18)
Sort by:
Best
Comment
1
2
Explore
Download App
Support
Terms
Privacy Policy
More
Copyright © 2026 LeetCode
United States