Skip to content

Conversation

ashokdey
Copy link
Member

@ashokdey ashokdey commented Dec 7, 2019

⛽️ What's Inside?

  • Added implementation of Set data structure
  • APIs are
    • add(el)
    • remove(el)
    • values()
    • has(el)

@ashokdey ashokdey self-assigned this Dec 7, 2019
@ashokdey ashokdey requested a review from TheSTL December 7, 2019 06:52
return this.data.val();
}

union(givenSet) {
Copy link
Member

Choose a reason for hiding this comment

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

If givenSet is not instanceOf XSet. Then it should throw error.

@ashokdey ashokdey merged commit ec38f2e into master Apr 26, 2020
@ashokdey ashokdey deleted the sets branch September 6, 2020 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants