Algorithms and data structures in rust