DRT interview question

some circuits problems on paper