摘要:
/** * 构造方法 * 目标类 */ public class User { private int uid; private String username; private int age; public User(int uid, String username) { this.uid = 阅读全文
posted @ 2019-04-11 19:50
紫色的雪
阅读(158)
评论(0)
推荐(0)
摘要:
import java.util.ArrayList; import java.util.LinkedList; import java.util.Queue; //即广度优先搜索树 public class Solution { public ArrayList PrintFromTopToBottom(TreeNode root) { ArrayLi... 阅读全文
posted @ 2019-04-11 10:05
紫色的雪
阅读(112)
评论(0)
推荐(0)
摘要:
import java.util.ArrayList; import java.util.Stack; public class Solution { public boolean IsPopOrder(int [] pushA,int [] popA) { Stack stackA = new Stack(); int len = pu... 阅读全文
posted @ 2019-04-11 08:20
紫色的雪
阅读(190)
评论(0)
推荐(0)

浙公网安备 33010602011771号