![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法 面经
文章平均质量分 50
小包子的爸爸
这个作者很懒,什么都没留下…
展开
-
Check if tree b is part of tree a JAVA 实现
//Coding question: compare two binary trees and find if tree B is a part of tree A.Class TreeNode{ int val; TreeNode left, right; TreeNode(int val){ this.val = val this.le原创 2016-09-16 02:01:08 · 193 阅读 · 0 评论 -
findIndex Java 实现
class Solution { public static void main(String[] args) { int result = findIndex("robrorobe", "robe"); System.out.println(result); } public static int findIndex(String a, String needle){原创 2016-09-16 01:59:57 · 1009 阅读 · 0 评论