1. 程式人生 > >LintCode 13---字符串查找

LintCode 13---字符串查找

targe public ring indexof int @param ret clas col

public class Solution {
    /**
     * @param source: 
     * @param target: 
     * @return: return the index
     */
    public int strStr(String source, String target) {
        // Write your code here
            return source.indexOf(target);
    }
}

LintCode 13---字符串查找