Lhasa Interview Question

Problem solving algorithm that was too basic