Pergunta de entrevista da empresa Arista Networks

I was asked to design a C++ stack that could handle arbitrarily-sized data for multiple different clients. This turned out to be simpler that it initially seemed, as the data size was fixed in advance for each client and thread-safety was not a concern.