Canonical interview question

non provided aside from round two