This repository contains all the Data Structures and Algorithms concepts and their implementation in several ways

Overview

Data Structures and Algorithms

LOC visitor count Stars Badge Forks Badge GitHub contributors

If you appreciate my work, please 🌟 this repository. It motivates me. 🚀 🚀

DSA banner

This repository contains all the Data Structures and Algorithms concepts and their implementation in several ways, programming questions and Interview questions. The main aim of this repository is to help students who are learning Data Structures and Algorithms or preparing for an interview. This contains questions from popular coding platforms including LeetCode, HackerRank, Codechef, GeeksforGeeks, and many more.

If you're practising on the coding platforms mentioned above, also if you want to contribute those then you can add the questions in this repository.


Rules to contribute to this repository

  • You can write solutions in Java/C/C++/Python/JavaScript.
  • Follow the file/folder naming convention for all your pull requests.
  • While adding any content it should be inside its appropriate directory
  • If there is any problem with an inaccurate solution create an issue!

Things you can contribute to

  • This repository contains folders of all the Data Structures and Algorithms topics with some pre-addressed questions. You can add a solution to an unanswered question.
  • You can update the existing solution with a better one (better complexity).
  • Participants can even add new questions and solutions of their interest.
  • Solve issues raised by other people or yourself.
  • Well-documented source code with detailed explanations provides a valuable resource for educators and students alike.

Read CONTRIBUTING.md to get started with contributing to this repository.


Contributors

Thanks to these Wonderful People 👨🏻‍💻
Contributions of any kind are welcome! 🚀

Stargazers over time

Connect with me: Email Badge Linkedin Badge Twitter Telegram Discord


Happy Coding 👨‍💻

Comments
  • add solutions of Linked List problems

    add solutions of Linked List problems

    add solutions of Linked List problems here

    comment under this issue to get assigned then commit your changes/updates in the respective directory.

    Please DO NOT spam this repository with irrelevant PRs, or your PR will be marked as invalid or spam

    for hacktoberfest 
    opened by thepranaygupta 10
  • most water in the container

    most water in the container

    I want to add the answer for leetcode question - https://leetcode.com/problems/container-with-most-water/ Language-c++ I want to contribute for hacktoberfest21. Please assign me this issue and appropriate label.

    for hacktoberfest 
    opened by yellowberard 9
  • implement stacks using array in C++

    implement stacks using array in C++

    implement stacks using array in C++ here

    comment under this issue to get assigned then commit your changes/updates in the respective directory.

    Please DO NOT spam this repository with irrelevant PRs, or your PR will be marked as invalid or spam

    for hacktoberfest 
    opened by thepranaygupta 7
  • implement Postfix to Prefix in C++

    implement Postfix to Prefix in C++

    implement Postfix to Prefix in C++ here

    comment under this issue to get assigned then commit your changes/updates in the respective directory.

    Please DO NOT spam this repository with irrelevant PRs, or your PR will be marked as invalid or spam

    for hacktoberfest 
    opened by thepranaygupta 6
  • implement stack using LinkedList in C++

    implement stack using LinkedList in C++

    implement stack using LinkedList in C++ here

    comment under this issue to get assigned then commit your changes/updates in the respective directory.

    Please DO NOT spam this repository with irrelevant PRs, or your PR will be marked as invalid or spam

    for hacktoberfest 
    opened by thepranaygupta 6
  • Include graph concept - Dijkstra Algorithm

    Include graph concept - Dijkstra Algorithm

    Hello! I want to include Dijkstra's algorithm on how to find the shortest distance from the source and its solution in CPP in this repository. Please allow me to do so and assign the task under Hackactober fest.

    for hacktoberfest 
    opened by adrishyantee 5
  • Include Graph Concept - Topological sort

    Include Graph Concept - Topological sort

    Hello! I want to include how to print a topological sort of a DAG and its solution in CPP in this repository. Please allow me to do so and assign the task under Hackactober fest.

    for hacktoberfest 
    opened by adrishyantee 5
  • Wanna add solution to Sudoku Solver problem

    Wanna add solution to Sudoku Solver problem

    Hi @thepranaygupta

    I would like to add the CPP solution to the leetcode problem 'Sudoku Solver' in the Backtracking folder. Could you please assign me the same?

    for hacktoberfest 
    opened by Sarthak1799 4
  • Trapping Rain Water

    Trapping Rain Water

    This question is asked by many top companies like Google, Facebook, etc.

    Interviewbit Link: https://www.interviewbit.com/problems/rain-water-trapped/

    I want to solve this issue in Java.

    This is related to Array.

    Contributing for Hacktoberfest 2021

    for hacktoberfest 
    opened by kumar-tushar 4
  •  Binary Tree Zigzag Level Order Traversal

    Binary Tree Zigzag Level Order Traversal

    Hey, @thepranaygupta I want to add the below problem in your repo as a Hacktoberfest21 contributor.

    Problem: Given the root of a binary tree, return the zigzag level order traversal of its nodes' values.

    Language: C++

    Please assign this task to me with an appropriate label.

    for hacktoberfest 
    opened by harshita9621 4
  • Sort a binary linked list

    Sort a binary linked list

    This is an interview bit question asked in AMAZON i will be doing it under hacktoberFest 2021 looking forward to merge this under the linked list inteview question in the folder DATA STRUCTURES

    for hacktoberfest 
    opened by K1RA-16 4
  • Create solution.js

    Create solution.js

    Sovled sort colors in JS.

    used language: JavaScript File created: solution.js submission link: https://leetcode.com/problems/sort-colors/submissions/852815202/

    opened by aadil42 0
  • My branch 4

    My branch 4

    Under the algorithms->array->pascal triangle section, the pascal triangle code is in CPP and java language I added the code for the pascal triangle in C language I request you to merge the PR

    opened by 106121071 0
  • Update README.md

    Update README.md

    Wrong description of the problem The Readme description is wrong for the problem the problem is about Palindrome but the Readme file has a description of Sorting a Binary linked list and i changed it

    I request you to merge the PR

    opened by 106121071 0
  • My branch 2

    My branch 2

    Under the data structures section, directing to tree->AVL tree The implementations of AVL tree are in c plus plus and java language I added a section of implementing AVL tree in C language

    I request you to merge the PR

    opened by 106121071 0
Owner
Pranay Gupta
Mentor @scriptfoundation • Top Contributor @girlscript WoC'21 • Web Dev and Open Source Enthusiast
Pranay Gupta
A repository that contains Data Structure and Algorithms coded on Java

A repository that contains Data Structure and Algorithms coded on Java . It will also contain solutions of questions from Leetcode.

Akshat Gupta 6 Oct 15, 2022
Popular Algorithms and Data Structures implemented in popular languages

Algos Community (college) maintained list of Algorithms and Data Structures implementations. Implemented Algorithms Algorithm C CPP Java Python Golang

IIIT Vadodara Open Source 1k Dec 28, 2022
Data structures and algorithms exercises in java

Data structure and algorithms in Java About The Project [] In this repository you can find examples of data structure exercises solved in java and som

Luis Perez Contreras 1 Nov 25, 2021
Data structures & algorithms implemented in Java and solutions to leetcode problems.

Hello, World! ?? Hey everyone, I'm Sharad ☃ , and I'm a Software Engineer ?? at eGain! This repository ?? is all about data structures & algorithms an

Sharad Dutta 16 Dec 16, 2022
Example of implementing data structures in Java

Data Structures Example of implementing data structures in Java Implemented data structure : Queue Stack Linked List Binary Search Tree (BST) Trie Hea

Ismaïl BENHALLAM 2 Sep 27, 2021
🎓☕ Repository of lessons and exercises from loiane.training's course on data structure with Java

☕ Curso estrutura de dados com Java by @loiane.training Repositório com as aulas e exercícios do curso de estrutura de dados com Java da loiane.traini

Leticia Campos 2 Feb 1, 2022
Worker-queue implementation on top of Java and database

Database Queue Library provides worker-queue implementation on top of Java and database. Fintech company YooMoney uses db-queue in cases where reliabi

null 17 Dec 12, 2022
Algorithm and Data Structrue

SWE241P Algorithm and Data Structure Ex1 TreeSet with Red-Black Tree HashSet LinkedList Set Ex 2 Selection Sort Insertion Sort Heap Sort Merge Sort Qu

Tiger Liu 4 Apr 13, 2022
Protocol Buffers - Google's data interchange format

Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. https://developers.google.com/protocol-buffers/ Overview Protocol Buffe

Protocol Buffers 57.6k Jan 1, 2023
Facebook Clone created using java based on Graph data Structure

Facebook Clone Facebook Clone created using java based on Graph data Structure Representation of Social Media using Graph Data Structure in Java It is

yogita pandurang chaudhari 1 Jan 16, 2022
gRPC and protocol buffers for Android, Kotlin, and Java.

Wire “A man got to have a code!” - Omar Little See the project website for documentation and APIs. As our teams and programs grow, the variety and vol

Square 3.9k Dec 23, 2022
A big, fast and persistent queue based on memory mapped file.

Big Queue A big, fast and persistent queue based on memory mapped file. Notice, bigqueue is just a standalone library, for a high-throughput, persiste

bulldog 520 Dec 30, 2022
Union, intersection, and set cardinality in loglog space

HyperMinHash-java A Java implementation of the HyperMinHash algorithm, presented by Yu and Weber. HyperMinHash allows approximating set unions, inters

LiveRamp 48 Sep 22, 2022
A lightning fast, transactional, file-based FIFO for Android and Java.

Tape by Square, Inc. Tape is a collection of queue-related classes for Android and Java. QueueFile is a lightning-fast, transactional, file-based FIFO

Square 2.4k Dec 30, 2022
Flink Table Store is a unified streaming and batch store for building dynamic tables on Apache Flink

Flink Table Store is a unified streaming and batch store for building dynamic tables on Apache Flink

The Apache Software Foundation 366 Jan 1, 2023
A FlinkSQL studio and real-time computing platform based on Apache Flink

Dinky 简介 实时即未来,Dinky 为 Apache Flink 而生,让 Flink SQL 纵享丝滑,并致力于实时计算平台建设。 Dinky 架构于 Apache Flink,增强 Flink 的应用与体验,探索流式数仓。即站在巨人肩膀上创新与实践,Dinky 在未来批流一体的发展趋势下潜

null 1.5k Dec 30, 2022
An Open-Source repository 🌎 that contains all the Data Structures and Algorithms concepts and their implementation, programming questions and Interview questions

An Open-Source repository ?? that contains all the Data Structures and Algorithms concepts and their implementation, programming questions and Interview questions. The main aim of this repository is to help students who are learning Data Structures and Algorithms or preparing for an interview.

Aritra Das 19 Dec 29, 2022
This repository contains codes for various data structures and algorithms in C, C++, Java, Python, C#, Go, JavaScript and Kotlin.

Overview The goal of this project is to have codes for various data structures and algorithms - in C, C++, Java, Python, C#, Go, JavaScript and Kotlin

Manan 25 Mar 2, 2022