Snowflake interview question

I got asked two LC hards