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

Recursive data structures #68

Open
MeowningMaster opened this issue Feb 6, 2021 · 2 comments
Open

Recursive data structures #68

MeowningMaster opened this issue Feb 6, 2021 · 2 comments

Comments

@MeowningMaster
Copy link

MeowningMaster commented Feb 6, 2021

What?

Describe how to implement recursive data structures such as:

  • linked lists (stacks, queues)
  • trees
  • graphs

Show ready to use std and crates:

Why?

It is different from other languages. When I moved from c++ to rust I was quite confused how to implement this things due to rust's rustrictions on mutable references.
it is also a good way to deepen your understanding of the concept of borrowing.

How?

Some solutions:

Depends on:

@MeowningMaster
Copy link
Author

I know that my english may be far from ideal 😺

@mre
Copy link
Member

mre commented Feb 8, 2021

Your English is totally fine. Thanks for the great idea. 😄

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

No branches or pull requests

2 participants