Following are the details of Adobe Interview.
1. How will you implement a stack using a priority queue. Push and pop should be in O(1).
2. Three mislabeled jars problem.
1. How does stack look in function calls? Given a recursive function call, how will the stack look like?
2. When does stack (process stack) overflow? What are the remedies?
3. What are balanced BSTs. Then he randomly gave me various numbers and asked me to create a BST. And to balance it.
4. Advantages of linked list over arrays. And arrays over linked list.
5. How are vectors implemented internally in the library. This question revolved around dynamic implementation of arrays. Then discussed the amortized time of the operations using dynamic implementation of arrays.
1. There was a question in written round that there is a global static variable ‘lock’ initially set to 0 and there was a code segment given.
while(lock); lock = 1; //Critical section lock = 0;
Does this solve critical section problem. I answered that it will solve in uni processor system but not in multiprocessor system. Then he asked me to explain my answer. After a long discussion we came to a conclusion that this wont even solve in uni processor system. Then he asked me the solution to solve this. I did that using testandset instruction.
2. When a function is called in thread, what variables can be accessed from it. There was a long discussion on this too. I went in the wrong direction but corrected myself later. Stack variables are copied but heap variables are same.
1. What data structures will you use to implement a text editor. Size of editor can be changed and you also need to save the styling information for all the text like italic, bold etc.
HR Round: Normal HR questions.
Thanks to Suresh for sharing Adobe Interview Questions. If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
- Adobe Interview Experience (Adobe for Women)
- Adobe Interview | Set 2
- Adobe Interview | Set 3
- Adobe Interview | Set 4
- Adobe Interview | Set 5
- Adobe Interview | Set 6 (On-campus for MTS-1)
- Adobe Interview | Set 7 (On-campus for MTS-1)
- Adobe Interview | Set 8 (Off-Campus)
- Adobe Interview | Set 9
- Adobe Interview | Set 10 (Software Engineer)
- Adobe Interview | Set 11 (On-Campus)
- Adobe Interview | Set 12 (On Campus for MTS-1)
- Adobe Interview | Set 13 (On Campus for Internship)
- Adobe Interview | Set 14 (On Campus for Full Time)
- Adobe Interview | Set 15 (For MTS-1)
- Adobe Interview | Set 16 (For MTS-1)
- Adobe Interview | Set 17 (For MTS-1)
- Adobe Interview Experience | Set 18 (For WBT Profile)
- Adobe Interview Experience | Set 19 (For MTS)
- Adobe Interview Experience | Set 21 for Software Engineer (Fresher)