Beam Interview Question

Programming questions in C++ and Python