Skip to content

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