KONA I interview question

Most basic data structure and algorithm question. If you have a clear understanding, shouldn't be a problem.