Meta interview question

Good rev Bad rev problem - leetcode