Technical Interview Questions
Technical Interview Questions
11. How does virtual work? How does it affect performance (both CPU and memory wise)?
13. What is an interface? How do you define an interface in C++? why is it useful?
14. What is the dreaded diamond? How do you deal with it?
16. What are the advantages and disadvantages of managing game objects using OOP vs a
component-based approach?
18. What is the difference between shared_ptr and weak_ptr. When would you use either?
19. What is a small block allocator? What are the benefits of using one?
52. In what order are constructors and destructors called in a heritance tree?
62. What is a nameless namespace and why would you use it?
64. Write a function to find the first non-repeating character in a string:("ABCA" -> B)
68. What are the 6 default functions of a class in C++? What are their declarations?
69. Implement an iterative and recursive version of a function that prints the fibonacci
sequence up to X iterations.
73. If two spheres are moving at a constant velocity, how can one check if they intersect
79. What is the proudest piece of code or system that you have built?
80. What is the hardest bug that you have debugged and fixed?
82. What are some of the differences between C++ and C#?
91. How would you check collision between two convex polygons?
92. How would you check collision between two concave polygons?