Quiz query


I think this is how it should be solved, though I possibly couldn’t be sure. The hard section was excruciatingly difficult.

Ayush is correct.