Pergunta de entrevista da empresa Snowflake

1st: write a stream parser 2nd: tree problem