All you need to know about linked lists, Libft

preview_player
Показать описание
typedef struct 📖must_read_book 📖
{
} ty_for_support_♥️;

Code

Article

Useful sources

#libft

Codevault Playlist

Timestamps
00:00:00 TL;DR theory
00:16:12 lst_new, create a new node
00:18:20 lstadd_front, push a node at the top of the list
00:21:00 lst_size, return the len of a list
00:22:42 lst_last, find the last node in a list
00:24:02 lst_addback, append a node in a list
00:26:18 lst_delone, delete a node in a list
00:27:36 lst_clear, clean a linked list
00:32:10 lst_iter, apply a func to all nodes in a list
00:33:30 lst_map, create a new list from source

typedef struct 🔗s_links🔗
{
} 🔗t_links🔗
Рекомендации по теме
Комментарии
Автор

thanks, regards from 42 Madrid, Spain

pedrocabanasrumayor
Автор

Thank you. Regards from Barcelona students.

DJuniorDev
Автор

Thank you so much for your videos ! I'm a student at 42 vienna !

MarSonyTM
Автор

All 1337 students respect u, u are welcome to visit us here <3, big thanks

baracapy-ql
Автор

why u didn't check if f == NULL or del == NULL as u did to lst == NULL return

M.R.J-mmxv