QUANTUM interview question

basic question and very efficient