keshavsingh4522 / hacktoberfest

Submit Just 4 PRs to earn SWAGS and Tshirts🔥
https://hacktoberfest.digitalocean.com/
Creative Commons Zero v1.0 Universal
843 stars 3.92k forks source link

Feature: Level order traversal of Binary Tree in Java #1420

Open esheetaparulekar opened 2 years ago

esheetaparulekar commented 2 years ago

Question: Given the root of a binary tree, return the level order traversal of its nodes' values. (i.e., from left to right, level by level).

Example: Input: root = [3,9,20,null,null,15,7] Output: [[3],[9,20],[15,7]]

Could you please assign it to me under Hacktoberfest 2021?

aamangupta commented 2 years ago

can i work on this, i will provide you with well detailed java solution