top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

C: How to generate post order array from given in order array?

0 votes
229 views

How to generate post order array from given in order array [8,6,9,4,7,2,5], looking for the sample C code?

posted May 14, 2018 by anonymous
Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Your answer

Preview

Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Similar Questions
–2 votes

You have given height array of array. Generate the original array.

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.

–1 vote

Say you are given two arrays where second array is duplicate with one missing element. What should be the best possible way to find that missing element -
array1: [1,2,3,4,5,6,7]
array2: [1,3,4,5,6,7]

Missing Element: 2

...