STL Digital interview question

Question was simple and easy