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

Add Trie #35

Open
conan1412yang99 opened this issue Apr 19, 2023 · 4 comments · May be fixed by #79
Open

Add Trie #35

conan1412yang99 opened this issue Apr 19, 2023 · 4 comments · May be fixed by #79
Assignees
Labels
proposal Proposal for new content

Comments

@conan1412yang99
Copy link

conan1412yang99 commented Apr 19, 2023

Outlines

  • Trie basics (insert, delete, find)
  • Binary on trie (01trie)
  • Persistent trie
  • Sample code (basic / binary / persistent)
  • Problem set
    • dictionary problem
    • maximum xor sum path on tree
    • maximum xor sub-array
    • given int x and a set S, maximize x ^ y for y in S
    • given int x and a array A, maximize x ^ y for y in A[L: R]

References

@harry900831
Copy link
Contributor

According to your outline and references, the content seems not enough. You'll have to add more stuff, maybe more problem or the variation of trie. Moreover, the references is not enough either.

@conan1412yang99
Copy link
Author

conan1412yang99 commented Apr 19, 2023

I think I could add some content covering persistent trie and more "interesting" problems.

For the persistent trie, I found this reference:
https://iq.opengenus.org/persistent-trie/

@harry900831
Copy link
Contributor

harry900831 commented Apr 19, 2023

It would be great to see more interesting problems :)

You may directly modify the outline above after you come up with new outline.

@conan1412yang99
Copy link
Author

@harry900831 I updated the outline and references. I think the content is hard enough for me now .

@harry900831 harry900831 added the proposal Proposal for new content label May 8, 2023
@conan1412yang99 conan1412yang99 linked a pull request May 14, 2023 that will close this issue
8 tasks
@harry900831 harry900831 linked a pull request May 18, 2023 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposal for new content
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants