Meta interview question

Just a basic question on algorithms.