Yext Interview Question

A question involving a crazy pattern of steps given through a google doc.