Morgan Stanley Interview Report
- 0of 0 votes
AnswersGiven the integers from 1 to n, determine how many valid binary heaps can be constructed with these numbers.
- gdg July 17, 2014 in India| Report Duplicate | Flag | PURGE
Morgan Stanley Sales Development Representative - 1of 1 vote
Answersprint all the binary values of number from 1 to n , each number’s binary should be printed in 0(1).
- gdg July 17, 2014 in India
for eg: n = 6
then print 1 10 11 100 101 110. printing 1, 10 ,11 ,100,101,110 should be in o(1) each| Report Duplicate | Flag | PURGE
Morgan Stanley Sales Development Representative
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.