Skip to content

Latest commit

 

History

History

0x17-doubly_linked_lists

0x17-doubly_linked_lists

Description

This project focuses on doubly linked lists in C. It covers how to define and use doubly linked lists, how to traverse and manipulate them, and how to apply these concepts to solve problems effectively. The project aims to provide a deep understanding of these fundamental concepts in C programming.

Resources

Read or watch

Learning Objectives

General

  • What is a doubly linked list.
  • How to use doubly linked lists.
  • How to handle edge cases in doubly linked lists.
  • How to manipulate doubly linked lists effectively.

Tasks

Task Name File Description
Print list 0-print_dlistint.c Writes a function that prints all the elements of a dlistint_t list.
List length 1-dlistint_len.c Writes a function that returns the number of elements in a linked dlistint_t list.
Add node 2-add_dnodeint.c Writes a function that adds a new node at the beginning of a dlistint_t list.
Add node at the end 3-add_dnodeint_end.c Writes a function that adds a new node at the end of a dlistint_t list.
Free list 4-free_dlistint.c Writes a function that frees a dlistint_t list.
Get node at index 5-get_dnodeint.c Writes a function that returns the nth node of a dlistint_t linked list.
Sum list 6-sum_dlistint.c Writes a function that returns the sum of all the data (n) of a dlistint_t linked list.
Insert 7-insert_dnodeint.c Writes a function that inserts a new node at a given position.
Delete 8-delete_dnodeint.c Writes a function that deletes the node at index index of a dlistint_t linked list.
Crackme4 100-password Creates a file that contains the password for the crackme4 executable.
Palindromes 102-palindrome.c Writes a function that checks if a given unsigned integer is a palindrome.
Find the loop 103-find_loop.c Writes a function that finds the loop in a linked list.