Newpage Solutions interview question

Question was based on snowflake only.