Double Ended Iterators and Linked Lists (in Rust)

preview_player
Показать описание
In this video we extend the implementation of the Double Linked List with Double Ended Iterators. We review various iterator functions, and the iter module in Rust. We learn how to maintain an Iterator's state (for forward and backwards iteration) with respect to the Double Linked List. For the double linked list iterator we must work with the existing reference counters and weak pointers in order to properly advance the iterator.

↠ Other Videos to Watch

↠ References:

Cheers! 🍻

🦀 #rust #rustlang #rustprogramming #exercises #programming
Рекомендации по теме
Комментарии
Автор

I love that the title song sounds like we are going to learn something classic like fine wood working with hand tools or something like that. Totally keep that!

joelmontesdeoca
Автор

4:57 instead of unwrapping the option, you can do `let current = current?;` or `let Some(current) = current else { return None; };`

Nesdac-kl