CVS Health Interview Question

Leetcode - Easy-Medium and a SQL question