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

Enhancements on Linked lists #79

Merged
merged 2 commits into from
Oct 13, 2019
Merged

Enhancements on Linked lists #79

merged 2 commits into from
Oct 13, 2019

Conversation

ashokdey
Copy link
Member

🗒 What's Inside?

  • Added tail and size as properties of LL CLass
  • Now it takes constant time [O(1)] for the following:
    • length()
    • addAtEnd(element)

Ran npm test which helped me fix few breakpoints. 🎉

@ashokdey ashokdey added the enhancement New feature or request label Oct 13, 2019
@ashokdey ashokdey requested a review from TheSTL October 13, 2019 06:39
@ashokdey ashokdey self-assigned this Oct 13, 2019
@TheSTL TheSTL merged commit 01b9a6f into master Oct 13, 2019
@ashokdey ashokdey deleted the linked-lists branch October 13, 2019 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants