Myntra Interview Experience
Round 1:
- Given Parent Array Such that parent[i]=j where j is the parent and Value array . Need to Find Best possible sum .
Root node will have -1 as parent.
Best Possible sum is maximum sum in one of the tree paths.
Integer[] parent = new Integer[] { -1, 0, 0, 2, 3 }; Integer[] values = new Integer[] { 0, 4, 6, -11, 3 }; (0/0)----(1/4) | | (2/6) | | (3/-11) | | (4/3)Maximum sum here would be 6+0+4=10 for path 2-->0-->1. - Degree of An Array.
https://leetcode.com/articles/degree-of-an-array/ - Monsoon umbrellas.
Recommended Posts:
- Myntra Interview Experience | Set 5
- Myntra Interview Experience | Set 9 (On Campus)
- Myntra Interview Experience | Set 8 (On-Campus)
- Myntra Interview Experience | Set 7 ( Internship)
- Myntra Interview Experience | Set 3 (On-Campus)
- Myntra Interview Experience | Set 10 (Software Engineer)
- Myntra Interview Experience | Set 4 (For Senior Software Engineer )
- Myntra Interview Experience | Set 6 (On-Campus For Software Engineer)
- Myntra Interview Experience | Set 8 (On-Campus For Software Engineer)
- Myntra Interview | Set 2 (For SDE-II)
- Myntra Interview | Set 1
- Microsoft Interview Experience (Full Time 2018 Washington DC - with 2.5 years of experience)
- Goldman Sachs Interview Experience | Set 23 (2+ years Experience for Java Developer Role)
- TIAA Interview Experience -Java Back Backend Developer (3+ years Experience)
- Arcesium Interview Experience - Senior Software Engineer (3 years experience)
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



