Solve build ordering and expression evaluation | Snowflake Interview Question