Skip to content
#

ds

Here are 42 public repositories matching this topic...

A C program to deep copy a binary tree. Deep copy means that any changes made to the new binary tree don't affect the original binary tree. Both recursive and iterative algorithms are implemented. The iterative algorithm a few lines of code and uses a variable to keep track of the current node.

  • Updated Feb 3, 2023
  • C

This is a simple implementation of a circular linked-list in C. Circular linked-lists are a type of linked-list where the last node points to the first node. This is useful for implementing queues and stacks. This implementation is a doubly linked-list, meaning that each node has a pointer to the next node and a pointer to the previous node.

  • Updated Jan 5, 2023
  • C

This is a simple implementation of a doubly linked-list in C. Doubly linked-lists are a type of data structure that are similar to singly linked-lists, but they have a pointer to the previous node in addition to the next node. This allows for traversal in both directions.

  • Updated Jan 5, 2023
  • C

Improve this page

Add a description, image, and links to the ds topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ds topic, visit your repo's landing page and select "manage topics."

Learn more