Pergunta de entrevista da empresa Morgan Stanley

1 leetcode question per interview, and 1 SQL question