Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LCT.mdx #5161

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Update LCT.mdx #5161

wants to merge 8 commits into from

Conversation

ksreevatsa
Copy link

@ksreevatsa ksreevatsa commented Feb 27, 2025

added java solution With Link Cut Tree

Place an "x" in the corresponding checkbox if it is done or does not apply to this pull request.

  • [ x] I have tested my code.
  • [ x] I have added my solution according to the steps here.
  • [x ] I have followed the code conventions mentioned here.
    • I understand that if it is clear that I have not attempted to follow these conventions, my PR will be closed.
    • If changes are requested, I will re-request a review after addressing them.
  • I have linked this PR to any issues that it closes.

added java solution With Link Cut Tree
@ksreevatsa ksreevatsa requested a review from dongliuu as a code owner February 27, 2025 09:50
@SansPapyrus683
Copy link
Contributor

is this consistent with the c++ version?

import java.util.*;

class Node {
int value;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use tabs to indent

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i still see you using spaces

updated indentation
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.

4 participants