Snowflake Interview Question

take look at circular queue and binary tree, also word search and course schedule.