Loop Health interview question

Easy and Medium level Leetcode DSA