Pregunta de entrevista de Walmart Global Tech

Design question: Implementing a class and its functions. SQL question: Finding the maximum value in a table.