Snowflake Interview Question

Graph question for coding, system design was simple.