Rippling Interview Question

Rule Engine from past leet code