GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add RightSideViewOfBinaryTree algorithm with tests by roshankumar447 · Pull Request #7734 · TheAlgorithms/Java

Conversation

@roshankumar447

@roshankumar447 roshankumar447 commented Nov 7, 2026

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@roshankumar447
feat: add RightSideViewOfBinaryTree algorithm with tests
f367dfa
@roshankumar447
roshankumar447 requested review from DenizAltunkapan, alxkm and yanglbme as code owners November 7, 2026 15:12
roshankumar447 added 2 commits November 10, 2026 16:20
@roshankumar447
Merge remote-tracking branch 'upstream/master' into feat/right-side-v…
39a7644
…iew-binary-tree
@roshankumar447
fix: correct input array for testRightSkewedTree
cc8cad1
@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.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.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Reviewers

@DenizAltunkapan DenizAltunkapan Awaiting requested review from DenizAltunkapan DenizAltunkapan is a code owner
@yanglbme yanglbme Awaiting requested review from yanglbme yanglbme is a code owner
@alxkm alxkm Awaiting requested review from alxkm alxkm is a code owner

At least 1 approving review is required to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@roshankumar447 @codecov-commenter
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.