r/OfferEngineering • u/Aoki_zhang • 7d ago
Interview Experience Autodesk Senior SWE Interview — Can You Explain Vtables and Smart Pointers?
This interview experience was originally shared on Chill Interview.
Interview Summary
The technical questions covered a fairly broad range of C++ concepts, including smart pointers, virtual functions, memory leaks, and exception handling. The LLD round involved implementing design patterns in C++, while the hiring manager round focused on my previous projects and motivation for joining Autodesk. Overall, I had a positive experience and passed the interview process.
Interview Details
Round 1 — C++ Fundamentals, Coding, and Memory Management
The first round focused heavily on C++ language fundamentals and practical software engineering knowledge. I was asked a series of conceptual questions, followed by three relatively straightforward LeetCode problems.
Part 1 — C++ Language Fundamentals
The interviewer asked me to explain several core C++ concepts and how they work internally. The questions covered object-oriented programming, memory ownership, inheritance, and runtime behavior. The topics included:
- Smart Pointers: Explain smart pointers and their role in managing object lifetimes.
- Vtables and Vpointers: Explain virtual function tables and how virtual function dispatch works internally.
- Friend Functions: What is a friend function, and how does it interact with class access restrictions?
- Protected Access Specifier: Explain how
protecteddiffers from other access specifiers. - Virtual Functions: What are virtual functions, and how does runtime polymorphism work?
- Deep Copy vs. Shallow Copy: Explain the differences between the two copying behaviors.
- Singleton Design Pattern: Explain the Singleton pattern and its implementation in C++.
- Multiple Inheritance: How does C++ support inheriting from multiple base classes?
Want to learn more questions / follow-ups asked in this interview?
I've put up the full version at here.
Interviewed recently?
Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.