Domanda di colloquio di Squarepoint Capital

How would you go about implementing std::optional