Frage im Vorstellungsgespräch bei Rakuten

1 easy LC question, 1 hard leetcode question and 3 SQL based queries.