Snowflake || Tough OA question || How to solve???

Any idea how to solve this? Encountered this question in Snowflake's OA.

image

Comments (6)