Welcome to my Data Structures and Algorithms journey! This repository contains my Java implementations of various DSA concepts, starting from the basics to advanced topics.
* swap_nodes - Swap two nodes in a listint_t doubly-linked list. * @h: A pointer to the head of the doubly-linked list. * @n1: A pointer to the first node to swap. * @n2: The second node to swap.