Interviewed with Nvidia Shanghai for a C++/graphics role – two rounds:
Interviewed with Nvidia Shanghai for a C++/graphics role – two rounds: • Round 1: Discussed C++ inheritance and why destructors are virtual; lvalues vs rvalues and move semantics; how to compute mipmap levels; Early-Z optimization; CUDA topics like branch divergence and streams. • Round 2: Live coding with a medium-hard problem requiring a monotonic stack and DFS, and an O(1) space string rotatio…