Turcomp interview question

Not quite remember the details.