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

algorithm for Kth element from last in Linkedlist #234

Merged
merged 1 commit into from
Oct 6, 2019

Conversation

somyaguglani
Copy link
Contributor

@somyaguglani somyaguglani commented Oct 5, 2019

This code is for an algorithm to print the kth element from end of the linked . The algorithm works in O(n) with space complexity O(1) .
Please have a look and if there are no issues then .... issue #238

@somyaguglani somyaguglani changed the title algorithm for Kth element from last in linked list algorithm for Kth element from last in linked list Oct 5, 2019
@somyaguglani somyaguglani changed the title algorithm for Kth element from last in linked list algorithm for Kth element from last in Linkedlist Oct 5, 2019
Copy link
Member

@OtacilioN OtacilioN left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for contributing!

@OtacilioN OtacilioN merged commit b25f8e5 into ReciHub:master Oct 6, 2019
@somyaguglani
Copy link
Contributor Author

@OtacilioN thanks for merging this but my PR(this one ) was labelled as invalid yesterday ? I became confused can you please guide me?

@OtacilioN
Copy link
Member

Hey @somyaguglani this is not labeled as invalid and is counting

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