Zscaler policy services must be rolled out in dependency order. Given the service names and directed dependencies, return a valid rollout order that is lexicographically smallest among all valid orders. If the dependencies contain a cycle, return an empty list because no rollout order exists.
A dependency [a, b] means service a must be rolled out before service b. Each service name is unique. Duplicate dependency pairs may appear and must not affect the result.
Implement deploy_order(services, dependencies).
services is a list of unique non-empty strings.dependencies is a list of two-element lists, where each pair contains service names from services.[] if a cycle exists, including a self-dependency.def deploy_order(services, dependencies):