Domanda di colloquio di Ken Research

2 leetcode questions, language based quetions