Frage im Vorstellungsgespräch bei Smoothstack

Easy/Medium leetcode problem for the Coding Challenge.