Pergunta de entrevista da empresa Quansight

In-depth C++ questions, including how certain features work and when would you prefer using which one, e.g. when is passing a vector by value better than passing by reference?