Design a path validation system | Hello Interview