Skip to content

feat: add RightSideViewOfBinaryTree algorithm with tests - #7734

Open
roshankumar447 wants to merge 3 commits into
TheAlgorithms:masterfrom
roshankumar447:feat/right-side-view-binary-tree
Open

roshankumar447 wants to merge 3 commits into
TheAlgorithms:masterfrom
roshankumar447:feat/right-side-view-binary-tree

Conversation

@roshankumar447

Copy link
Copy Markdown

Description\nAdds the Right Side View of Binary Tree algorithm.\n\nGiven the root of a binary tree, returns the values of the nodes visible from the right side (last node of each level in BFS traversal).\n\n## Related\n- LeetCode #199: Binary Tree Right Side View\n\n## Changes\n- Added RightSideViewOfBinaryTree.java with BFS-based implementation\n- Added RightSideViewOfBinaryTreeTest.java with 5 test cases

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.35%. Comparing base (defae1e) to head (cc8cad1).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7734      +/-   ##
============================================
+ Coverage     82.33%   82.35%   +0.02%     
- Complexity     8444     8454      +10     
============================================
  Files           843      844       +1     
  Lines         26154    26171      +17     
  Branches       5109     5115       +6     
============================================
+ Hits          21534    21554      +20     
  Misses         3830     3830              
+ Partials        790      787       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants