Adobe | Computer Scientist 1 | Round 2 Interview Experience [Rejected]

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-05-14Added By Anonymous
Source: Link

Technical Interview – Problem Solving, C++, OS


Interviewer Experience: ~19 years


Status: Rejected


Recruiter told : There is no detailed feedback as of now. If there is anything that can be shared, we will make sure to do so as soon as possible.


I don't know what does it mean. It's been more than two days.


C++ Question (15–20 mins)

The interviewer started with a deep dive into C++ smart pointers, specifically focusing on std::unique_ptr and move semantics.


He shared a code snippet and asked:

Will this code compile and work? If not, why? How would you fix it?

We discussed various things around ownership transfer,and how std::move interacts with unique_ptr.

Also, about modern C++ memory management.


Pass by refernece and pass by value.


Coding Question: Cousins in Binary Tree - Given a binary tree and a target node ptr, return all its cousins

I first proposed a 2-pass BFS approach. We then briefly discussed how it could be optimized to a 1-pass BFS by tracking parent and level simultaneously. There was a bit of miscommunication while I was trying to explain the 1-pass version, so the interviewer asked me to code the 2-pass approach, which I completed.


Link to Round 1 Interview Experience : https://leetcode.com/discuss/post/6722120/adobe-computer-scientist-1-round-1-inter-xjos/


Recruiter didn't share any feedback

Comments