Coder Social home page Coder Social logo

afsify / datastructure Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 15 KB

Level up your JavaScript skills with a progression of data structure exercises, starting from basics and advancing to more complex concepts. Clear code examples provided for easy understanding.

JavaScript 100.00%
data-structures javascript workouts

datastructure's Introduction

JavaScript Data Structure Library

Data structure is a way of organizing and storing data in a computer so that it can be accessed and used efficiently, A simple JavaScript library providing commonly used data structures.

Overview

This library offers a collection of fundamental data structures implemented in JavaScript. These data structures are essential for various algorithms and applications, offering efficient ways to organize and manipulate data.

Supported Data Structures

  1. Array:

    • A collection of elements identified by index or key.
  2. Graph:

    • A collection of nodes connected by edges.
  3. HashTable:

    • A data structure that maps keys to values for efficient lookup.
  4. Heap:

    • A specialized tree-based data structure where the parent node is greater (or smaller) than its children.
  5. LinkedList:

    • A linear collection of elements where each element points to the next one in the sequence.
  6. Map:

    • A collection of key-value pairs where each key must be unique.
  7. Queue:

    • A First In, First Out (FIFO) data structure, where the first added element is the first one to be removed.
  8. Recursion:

    • A programming technique where a function calls itself to solve a smaller instance of the problem.
  9. Search Algorithms:

    • Common algorithms like Binary Search, Linear Search, etc.
  10. Set:

    • A collection of unique elements.
  11. Sort Algorithms:

    • Common sorting algorithms like Bubble Sort, Merge Sort, Quick Sort, etc.
  12. Stack:

    • A Last In, First Out (LIFO) data structure, where the last added element is the first one to be removed.
  13. String:

    • A sequence of characters.
  14. Tree:

    • A hierarchical data structure with a root element and subtrees.
  15. Trie:

    • A tree-like data structure where the keys are usually strings.

Clone the Repository

In the terminal, use the following command:

git clone https://github.com/mhdafs/datastructure.git

datastructure's People

Contributors

afsify avatar

Stargazers

 avatar Chythanya Ramdas avatar AKASH P C  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.