Goldman Sachs Interview Report
- 0of 0 votes
AnswersHow to print nested array ?
- sandeepmnit35 November 20, 2017 in India
Input : [1, 5, 8, [9, 10, 24, 20, [39, 48], 89], 105, 99]
Output : 1, 5, 8, 9, 10, 24, 20, 39, 48, 89, 105, 99.
Which data structure you will use to store the values?| Report Duplicate | Flag | PURGE
Goldman Sachs Developer Program Engineer Algorithm - 4of 4 votes
AnswersYou have given height array of array. Generate the original array.
- sandeepmnit35 November 20, 2017 in India
Input: [6,3,0,2,2,0,0]
Output : [ 1,5,7,3,2,6,4]
A[i] value in input array is the number of greater element on right side.| Report Duplicate | Flag | PURGE
Goldman Sachs Developer Program Engineer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.