Create a linked list in Rust: The RC smart pointer

Hey guys. In this tutorial, I implement a linked list in Rust utilizing the RC smart pointer. You will learn about the linked list data structure as well as the Box and RC smart pointers in Rust.

There are many other things to learn here, such as the Iterator trait, setting up a test in Rust, and much more.

Here are the key highlights of the video

  • Linked list explained
  • The Box smart pointer
  • Getting the head of a linked list list
  • Pushing an element to a linked list list
  • The RC smart pointer
  • Popping an element from a linked list list
  • Iterating through the elements in a linked list list
  • Verifying if an element is contained in a linked list list
  • Inserting an element in a linked list
  • Removing an element from a linked list
  • Reversing a linked list

You can code along with me while watching the video and remember to give your feedback in the comments. Thank you


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top
Mathematics jamb question & answer 2025 | mathematics jamb cbt 2025 expo questions assistance.