Adobe Telephonic Interview Questions

Here are some questions I was asked.

1) program to find height of a binary tree?
Complexity of above program
2) How do you know where the memory leaks when you have multiple files?
3) What are virtual destructors?
4) What should be done when an exception occurs in the constructor?
5) What can be maximum memory that a process can have in 32-bit machine? What assigns a process this memory?
6)Program to find the middle element of a linked list
7)algorithm of O(n) to find first unique element in a string
Ex:
input: abcabd
output:c
I couldnt answer theoretical questions so I wasnt shortlisted for the next round
These might help you
This question is related to Adobe Interview

Questions by Praneeth21

Showing Answers 1 - 3 of 3 Answers

mishmani

  • Aug 17th, 2009
 

I have tried answering theoretical ones only

2) May be when destructor is not doing clean up

4) we cannot handle this because constructor cannot return any thing. Destructor will not be called for this constructor. So best thing to do is to clean up memory

5) 2^32(4GB)-(memory used by the machine itself).. PCB routines.. hopefully 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions