We can see above that the basic process of Baidu's interview is like the above code, so Ali and Tencent's are also similar to the above code (here we don't stick the same code one by one), so we can extract the public code. Let's first define a class called Interview