Meta Interview Question

Good rev Bad rev problem - leetcode