Skip to content

Latest commit

 

History

History

singly_linked_lists

C - Singly linked lists

Description

  • tests/ - Main functions provided by Holberton School to test the files.
  • lists.h - Header file with function prototypes and with structures.

Tasks

  • 0. Print list
  • 1. List length
    • 1-list_len.c - Function that returns the number of elements in a linked list.
  • 2. Add node
    • 2-add_node.c - Function that adds a new node at the beginning of a list.
  • 3. Add node at the end
  • 4. Free list
  • 5. The Hare and the Tortoise
    • 100-first.c - Function that prints a string before the main is executed.

Author