mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-09 11:34:46 +08:00
添加 0102.二叉树的层序遍历.md Java版本
This commit is contained in:
@ -421,6 +421,7 @@ Java:
|
|||||||
|
|
||||||
``` Java
|
``` Java
|
||||||
|
|
||||||
|
|
||||||
class Solution {
|
class Solution {
|
||||||
public List<List<Integer>> resList=new ArrayList<List<Integer>>();
|
public List<List<Integer>> resList=new ArrayList<List<Integer>>();
|
||||||
public List<List<Integer>> levelOrder(TreeNode root) {
|
public List<List<Integer>> levelOrder(TreeNode root) {
|
||||||
|
Reference in New Issue
Block a user