A

Admin • 828.03K Points
Coach

Q. Which collection in Rust maintains insertion order?

  • (A) HashMap
  • (B) Vec
  • (C) BTreeMap
  • (D) HashSet
  • Correct Answer - Option(B)
  • Views: 9
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin
`Vec` maintains the order of elements as they are inserted.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.