Byte (YC S20) interview question

Easy level coding problem solving question from leetcode. 2 questions were given.