Gauri0799 / data-structure

basic syntax and data structure programs of different languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

data-structure

This Project aims to contains all types of programs of the all languages.


Topics

Basic Syntax

Contains the basic syntax of the programming language printing Hello World! program.

Data Structure

Array

An array is collection of items stored at contiguous memory locations. The idea is to store multiple items of same type together. This makes it easier to calculate the position of each element by simply adding an offset to a base value, i.e., the memory location of the first element of the array (generally denoted by the name of the array).

Linked List

Like arrays, Linked List is a linear data structure. Unlike arrays, linked list elements are not stored at contiguous location; the elements are linked using pointers. Linked List uses random variable allocation.

Stack

Stack is a linear data structure which follows a particular order in which the operations are performed. The order may be LIFO(Last In First Out) or FILO(First In Last Out). In Stack the element which is added at last is removed first.

Queue

A Queue is a linear structure which follows a particular order in which the operations are performed. The order is First In First Out (FIFO). In Queue the element which is added first is removed first.

Tree

A tree data structure can be defined recursively as a collection of nodes (starting at a root node), where each node is a data structure consisting of a value, together with a list of references to nodes (the "children"), with the constraints that no reference is duplicated, and none points to the root.

Searching

  • Linear Search
  • Binary Search

Sorting Algorithms

  • Bubble Sort
  • Radix Sort
  • Heap Sort
  • Insertion Sort
  • Selection Sort
  • Merge Sort
  • Quick Sort

About

basic syntax and data structure programs of different languages

License:MIT License


Languages

Language:C++ 93.5%Language:Python 4.8%Language:Java 1.6%Language:C 0.1%Language:Rust 0.1%