Code Monkey home page Code Monkey logo

geekboy2 / data_structures_sentinel_dynamic_link Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 11 KB

The purpose of this repository is to provide implementations of three different types of data structures: sentinel-based, dynamic using malloc, and linked using pointers. These data structures can be used in various algorithms and programs for efficient storage, retrieval, and manipulation of data.

Makefile 7.92% C 87.05% Shell 5.03%
data-structures dynamic dynamic-programming link linked-data linked-list sentinel sentinels

data_structures_sentinel_dynamic_link's Introduction

Data_structures_sentinel_dynamic_link

This repository will contain three different types of data structures:

  1. Sentinel-based data structure
  2. Dynamic data structure using malloc for memory allocation
  3. Linked data structure using pointers to point to the next element in the structure

Sentinel-based Data Structure

The sentinel-based data structure is a type of data structure that uses a sentinel node to mark the beginning and end of the structure. The sentinel node is a special node that does not contain any actual data but is used as a marker to indicate the beginning or end of the structure. This type of data structure is often used in algorithms that need to search through a data structure, such as sorting algorithms or binary search.

Dynamic Data Structure using malloc

The dynamic data structure is a type of data structure that uses malloc to allocate memory dynamically. This means that the size of the data structure can be determined at run-time rather than at compile-time. This type of data structure is often used in situations where the size of the data to be stored is not known in advance.

Linked Data Structure using Pointers

The linked data structure is a type of data structure that uses pointers to link each element to the next element in the structure. Each element contains a data field and a pointer field that points to the next element in the structure. This type of data structure is often used in situations where the data needs to be accessed sequentially, such as in a queue or a linked list.

data_structures_sentinel_dynamic_link's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.