Frage im Vorstellungsgespräch bei Microsoft

Coding questions (easy/medium leetcode); one for each round