STL Digital Interview Question

Question was simple and easy