Skip to content

feat: add RightSideViewOfBinaryTree algorithm with tests - #7734

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

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

Conversation

@roshankumar447

Copy link
Copy Markdown
Contributor

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

codecov-commenter commented Nov 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.41%. Comparing base (2f04e81) to head (e4b8efd).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7734      +/-   ##
============================================
+ Coverage     82.40%   82.41%   +0.01%     
- Complexity     8476     8484       +8     
============================================
  Files           845      846       +1     
  Lines         26225    26242      +17     
  Branches       5122     5128       +6     
============================================
+ Hits          21610    21627      +17     
  Misses         3828     3828              
  Partials        787      787              

☔ 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