今天去面试,遇到了几个问题,求指点:
第一个:第二个:
原题:List<Integer> s(String str,String s);
用List返回字符串str中字符串s的角标位置;
(如:str="absfyughsfhg",s="sf")