Coder Social home page Coder Social logo

data-structure-fundamentals's Introduction

Data Structure Fundamentals

A small collection of C implementations of data structures you are likely to encounter in a data structures course. I put these together from assignments and in-class exercises in Florida Poly's COP 4415 - Data Structures course in Fall of 2019.

Topics

The topics covered in this repo (given in order that they were covered in class):

  • Prerequisites, including IO, pointers, structs, and dynamic memory allocation in C
  • Linked lists
  • Stacks and queues
  • Sorting algorithms
  • Trees
  • Heaps
  • Dictionaries and hash tables

Tip: Each topic corresponds to a folder.

Usage

Each .c file can be comiled using gcc. No need to worry about Makefiles or linking. For example, if I wanted to try out selection sort, I would do the following:

Make sure you are in the right place. From the root of the repository:

cd sorting

Compile:

gcc selectionSort.c -o selectionSort

Run:

./selectionSort

Output:

Starting array: 
[ 1  8  666  43  765  2  47  98 ]
Sorted array: 
[ 1  2  8  43  47  98  666  765 ]

data-structure-fundamentals's People

Contributors

gunnarsundberg avatar

Watchers

 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.