PointClickCare interview question

Algorithm, select one data structure, to compare two chains, and give the right position of two pointers.