Git Product home page Git Product logo

dsa's Introduction

Implementation of Stacks in C and operations

  1. Implementation of a stack using an array
  2. Implementation of a stack using a struct
  3. Implementation of a stack using a linked list (courtesy of Joel)

Applications of Stacks

  1. Converting infix expression to postfix expression
    1. Algorithm
    2. Code
  2. Postfix expression evaluation (courtesy of Joel)
  3. Checking if parentheses in expression are balanced with a stack

Recursion

  1. Factorial
  2. Binary Search
  3. GCD of two numbers
  4. Sum of integers in an array
  5. Product of two numbers
  6. Towers of Hanoi Code Recursion Tree for 3 disks
  7. Applications of Stack in Recursion

Implementation of a Queue

  1. Queue using an array and global variables (courtesy of Joel)
  2. Queue using an array and pointers
  3. Queue using a struct
  4. Implementation of a circular queue (courtesy of Joel)

Applications of a Queue

  1. Message Queue using Circular Queue
  2. Implementation of a priority queue (courtesy of Joel)

Linked Lists

Singly Linked List

  1. Ordered singly linked list
  2. Implementation of a stack using a linked list (courtesy of Joel)
  3. Reversing a Singly Linked List

Circular Singly Linked List

  1. Queue using CSLL

Doubly Linked List

  1. Sparse Matrix (courtesy of Joel)

Circular Doubly Linked List

  1. Multiplication of two polynomials using a Linked List (courtesy of Joel)

Trees

  1. Binary Search Trees with all operations
  2. AVL Trees (incomplete)
  3. Threaded Binary Trees: notes Code
  4. B-trees and B+ trees
  5. Splay Trees
  6. Tries
  1. Priority Queue using a Heap, also contains heapify function

dsa's People

Contributors

venkat1924 avatar playinpixel avatar

Stargazers

 avatar  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.