Question 1 Same as the first question shared in this LeetCode discussion: https://leetcode.com/discuss/post/7545070/meta-e5-coding-maybe-i-have-over-enginee-omou/ It seems like it's not a leetcode question, but the linked website has the question details.
Check out your Company Bowl for anonymous work chats.