Learn about Rust RC Smart Pointer by Creating a Linked List Data Structure
cudidotdev
@cudidotdevAbout
Software engineer, Rust programming, Computer science
Latest Posts
Video Description
Here, 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. You can get the code used in this video at https://github.com/cudidotdev/linked-list-in-rust Timestamps 00:00 Introduction 00:08 What is a Linked List? 00:38 The Linked List and Node struct 01:25 The Box smart pointer 01:50 The Linked List and Node struct (contd.) 02:44 Getting the head of a linked list list 04:08 Pushing an element to a linked list list 04:30 The RC smart pointer 04:58 Pushing an element to a linked list list (contd.) 05:35 The RC clone method 05:45 Pushing an element to a linked list list (contd.) 06:43 Popping an element from a linked list list 07:32 Iterating through the elements in a linked list list 10:04 Verifying if an element is contained in a linked list list 11:16 Inserting ahead of a node 11:38 Deleting ahead of a node 11:49 Inserting an element in a linked list 14:49 Removing an element from a linked list 16:16 Reversing a linked list #rust #dsa #beginnerfriendly
You May Also Like
Aviation Enthusiast Starter Kit
AI-recommended products based on this video

USB C Headphones for iPhone 17/16/16e/15 Pro Max/Plus, Type C Earbuds Wired Earphones (Microphone & Remote Control) Noise Cancelling for lPad Pro, Galaxy S23/S22/S21/S20

Sperax 4 in 1 Walking Vibration Pad Treadmill, Walking Treadmill Pad for Home with Remote Control and APP Global Recycled Standard

USB C Headphones for iPhone 17/16/16e/15 Pro Max/Plus, Type C Earbuds Wired Earphones (Microphone & Remote Control) Noise Cancelling for lPad Pro, Galaxy S23/S22/S21/S20/Ultra Note10/20, Pixel

Remote Control Replacement 3rd Gen Fit for Fire Smart TV/Insignia/Pioneer/Cube (1st gen/2nd Gen/3rd Gen)/TVs Stick (2nd Gen/3rd Gen/4K/Lite/4K Max), Not for Samsung/Roku-TV


![JWT Authentication in Rust [Full Guide : Axum & Actix]](https://imgz.pc97.com/?width=500&fit=cover&image=https://i.ytimg.com/vi/n2M4A4mO0QU/hqdefault.jpg)

![POSTGRESQL JOINS [Complete guide in 12 mins]](https://imgz.pc97.com/?width=500&fit=cover&image=https://i.ytimg.com/vi/FprFu75BoE4/hqdefault.jpg)