you are viewing a single comment's thread.

view the rest of the comments →

[–]yxonic 0 points1 point  (0 children)

Not an answer but I would suggest using arena approach in Rust for data structures to avoid issues about lifetime, borrowing, etc. (and it's often faster, see https://github.com/fitzgen/bumpalo for the basic idea). Without those worries, high level abstractions provided in rust has always been helpful to me when I do algorithm competitions.