Solving Great Wall Restaurant Problems