Pergunta de entrevista da empresa IMC Trading

They asked my about how std::shared_ptr preserves the thread safety between the strong references and weak references

Resposta da entrevista

Sigiloso

27 de nov. de 2023

One of the interviewers started sharing his screen and opened an editor and asked me to tell him what to type. I asked them isn't it better if I share my screen and type the solution myself? They said no while the other interviewer wasn't paying any attention at all and was working with his phone. Anyway, I started providing a solution but the interviewer was refusing to type what I was telling him to type. Ultimately, they called me and said I don't have enough knowledge about shared_ptr :))