A place where you can learn and practise various Problems and algorithms

DSA

GitHub issues GitHub issues closed GitHub pull requests GitHub pull requests

forthebadge forthebadge forthebadge

Problem-Solving

Problem solving is an art of solving some real time challenges. And this is a place to get started, you can find many problems to solve, learn and implement here. This repo covers all kinds of data structures like Arrays, Stacks, Queues, Trees, Graphs and many more.

This Repository was a part of the following Open Source Program

image

Hacktoberfest 2021

Link To HacktoberFest 2021

Event details :

  • Hacktoberfest® is open to everyone . Whether you’re a developer, student learning to code, event host, or company of any size, you can help drive growth of open source and make positive contributions to an ever-growing community.
  • All backgrounds and skill levels are encouraged to complete the challenge.
  • Hacktoberfest is a celebration open to everyone.
  • You can sign up anytime between October 1 and October 31.

HacktoberFest Rules :

  • To earn your Hacktoberfest tee or tree reward, you must register and make four valid pull requests (PRs) between October 1-31 (in any time zone).
  • Pull requests can be made in any participating GitHub or GitLab hosted repository/project. Look for the 'hacktoberfest' topic to know if a repository/project is participating in Hacktoberfest.
  • Pull requests must be approved by a maintainer of the repository/project to count.
  • If a maintainer reports your pull request as spam or behavior not in line with the project’s code of conduct, you will be ineligible to participate.
  • This year, the first 55,000 participants who successfully complete the challenge will be eligible to receive a prize.

Whether it’s your first or fiftieth pull request, there’s always more to learn! We’ve put together a few resources that can help you create quality pull requests, keep your repositories pristine, and build on your open source knowledge.


Contributing

This repository is contribution friendly. If you'd like to add or improve any algorithm, your contribution is welcome!
Don't forget to follow Contribution Guidelines 😃

Open Source Love svg1

Used Languages

  • C
  • C++
  • Python
  • Java
  • Javascript

Thanks to all the contributors ❤️

Owner
Google DSC, GVP Chapter
A place for a budding Google Developer Students Club, GVP chapter. Will be working on cool projects as a team. #DoCoolThingsThatMatter
Google DSC, GVP Chapter
Comments
  • upload problem 1560C

    upload problem 1560C

    Related Issue

    • Info about the related issue: source code upload

    Closes: #39

    description of changes made:

    Source code of problem: 1560C from codeforces uploaded (this was soved by me on the platform as a part of contest, so please specify if I am required to make some changes or updates) the code was compiled and passed all test cases as can be seen at: https://codeforces.com/submissions/wurtzreaxnwittigreaxn (please note that wurtzreaxnwittigreaxn is my codeforces handle)

    All the corrections/sessions are welcome

    Programming language

    • [ ] C
    • [x] C++
    • [ ] Java
    • [ ] Python
    • [ ] Javascript
  • Change PR template

    Change PR template

    Problem Link

    Add language used in pull_request_template

    Additional context

    Right now the PR template lacks the language used subsection. It should be added to the PR template as contributors also need to add the language used

  • FLOOD FILL ALGO IN CPP

    FLOOD FILL ALGO IN CPP

    Related Issue

    Adds solution to flood fill problem on leetcode in CPP

    Closes: #13

    Describe the changes you've made

    • Add a solution for flood fill algorithim in leetcode folder

    Type of change

    What sort of change have you made:

    • [ ] Bug fix (non-breaking change which fixes an issue)
    • [x] New feature (non-breaking change which adds functionality)
    • [ ] Code style update (formatting, local variables)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [ ] This change requires a documentation update

    Language used

    • [ ] C
    • [x] CPP
    • [ ] Python
    • [ ] Java
  • Dislikes of 3

    Dislikes of 3

    Problem Link

    1560A

    Coding platform

    Codeforces

    Programming language

    C++17

    • [ ] C
    • [x] C++
    • [ ] Java
    • [ ] Python
    • [ ] JavaScript

    Additional context (OPTIONAL)

    This is an implementation based problem.

  • Trapping Rain problem

    Trapping Rain problem

    Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining. Example 1: Input: height = [0,1,0,2,1,0,1,3,2,1,2,1] Output: 6 Explanation: The above elevation map (black section) is represented by array [0,1,0,2,1,0,1,3,2,1,2,1]. In this case, 6 units of rain water (blue section) are being trapped.

    Example 2: Input: height = [4,2,0,3,2,5] Output: 9

    Related Issue

    • Info about the related issue

    Closes: #[issue number that will be closed through this PR]

    Describe the changes you've made

    Give a clear description what modifications you have made

    Type of change

    What sort of change have you made:

    • [ ] Bug fix (non-breaking change which fixes an issue)
    • [ ] New feature (non-breaking change which adds functionality)
    • [ ] Code style update (formatting, local variables)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [ ] This change requires a documentation update

    Programming language

    • [ ] C
    • [x] C++
    • [ ] Java
    • [ ] Python
    • [ ] Javascript

    Screenshots(optional)

    | Original | Updated | | :-----------------: | :----------------: | | original screenshot | updated screenshot |

  • ADJHATE

    ADJHATE

    Problem Link

    // https://www.codechef.com/COOK133C/problems/ADJHATE

    Mention the problem on which you want to work on ADJHATE

    Coding platform

    Codechef

    Mention the coding platform from where you have picked the problem

    Programming language

    cpp

    • [ ] C
    • [ ] C++
    • [ ] Java
    • [ ] Python
    • [ ] JavaScript

    Additional context (OPTIONAL)

    Add any other context or screenshots about the feature request here.

  • CSIRIM STRING

    CSIRIM STRING

    Related Issue

    • Info about the related issue

    Closes: #[issue number that will be closed through this PR]

    Describe the changes you've made

    I have added the solution of the codeforces problem .The solution is written in C++. link - https://codeforces.com/contest/1579/problem/A

    Type of change

    What sort of change have you made: solution to problem.

    • [ ] Bug fix (non-breaking change which fixes an issue)
    • [ ] New feature (non-breaking change which adds functionality)
    • [ ] Code style update (formatting, local variables)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [ ] This change requires a documentation update

    Programming language

    • [ ] C
    • [x ] C++
    • [ ] Java
    • [ ] Python
    • [ ] Javascript

    Screenshots(optional)

    | Original | Updated | | :-----------------: | :----------------: | | original screenshot | updated screenshot |

  • Intro to codechef

    Intro to codechef

    I have given a bried intro to codechef and types of competition and ranking system here. I would like to arrange the folder of codechef files to arrange them in such a manner that div 1 div 2 and div 3 questions should be separated as level of questions is really different for them.

    Related Issue

    • Info about the related issue

    Closes: #[issue number that will be closed through this PR]

    Describe the changes you've made

    Give a clear description what modifications you have made

    Type of change

    What sort of change have you made:

    • [ ] Bug fix (non-breaking change which fixes an issue)
    • [x] New feature (non-breaking change which adds functionality)
    • [ ] Code style update (formatting, local variables)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
    • [x] This change requires a documentation update

    Programming language

    • [ ] C
    • [ ] C++
    • [ ] Java
    • [ ] Python
    • [ ] Javascript

    Screenshots(optional)

    | Original | Updated | | :-----------------: | :----------------: | | original screenshot | updated screenshot |

  • Codeforces problem 1560E

    Codeforces problem 1560E

    Problem Link

    https://codeforces.com/problemset/problem/1560/E 1560E

    Coding platform

    Codeforces

    Programming language

    • [ ] C
    • [ ] C++
    • [ ] Java
    • [ ] Python
    • [ ] JavaScript
  • GREG'S WORKOUT

    GREG'S WORKOUT

    Problem Link

    https://codeforces.com/problemset/problem/255/A

    Coding platform

    Codeforces

    Programming language

    C++

    • [ ] C
    • [ ] C++
    • [ ] Java
    • [ ] Python
    • [ ] JavaScript

    Additional context (OPTIONAL)

  • SERIALIZE AND DESERIALIZE BINARY TREE

    SERIALIZE AND DESERIALIZE BINARY TREE

    Problem Link

    https://leetcode.com/problems/serialize-and-deserialize-binary-tree/

    Coding platform

    Leetcode

    Programming language

    • [ ] C
    • [x] C++
    • [ ] Java
    • [ ] Python
    • [ ] JavaScript
  • Issue and PR Management

    Issue and PR Management

    Issue and PR Management

    We use this template to refer to common issues.

    Issue Type

    1. Inappropriate file system 📂
    2. Not efficient or optimized solution 💯
    3. Change the file name 🗄️
    4. Compilation Error 👾
    5. There's a Bug 🐞
    6. Good first issue but not very diverse 👍

    We encourage Diverse PRs with clean and good coding practices. Although we will merge good and reliable code to the repo, we only label diverse and legitimate PRs for Hacktoberfest. We review in step by step process and will not accept any PR with Plagiarism of 0.1%

The Repository Contains all about Data Structure and Algorithms with Practice problems, series, and resources to follow!

?? The Complete DSA Preparation ?? This repository contains all the DSA (Data-Structures, Algorithms, 450 DSA by Love Babbar Bhaiya,STriver Series ,FA

Jan 8, 2022
This repo is for competitive coders. In the readme file you will get the list of questions. You can contribute by adding your solutions or by providing the optimized solutions which are answered already.
This repo is for competitive coders. In the readme file you will get the list of questions. You can contribute by adding your solutions or by providing the optimized solutions which are answered already.

Hello, Problem Solvers !!! ?? What it's about? ??‍?? This repository is for Competitive Coders to get started with Open-source. ?? We have curated a l

Oct 22, 2021
I am planning to add a beginner friendly path for my Juniors to Learn DSA and I will try to provide solutions of every problem also. We can add codeChef Challenge solutions also

DSA-Path-And-Important-Questions I am planning to add a beginner friendly path for my Juniors to Learn DSA Are you a Newbie in programming and want to

Sep 7, 2022
This repository consists a set of problems that a beginner can starts with.
This repository consists a set of problems that a beginner can starts with.

Beginner's Coding Sheet ?? ?? This Coding Sheet is provided by SIDDHARTH SINGH on his YouTube Channel. Here are the set of problems with its respectiv

Jan 24, 2022
Try to implement some algorithms in the book Introduction to Algorithms in C (and maybe C++).

CAlgoIntro Try to implement some algorithms in the book Introduction to Algorithms in C (and maybe C++). Note that not every algorithm & problem in th

Sep 28, 2021
This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.

CPP-Questions-and-Solutions ?? This repository aims to solve and create new problems from different spheres of coding, which will serve as a single po

Sep 13, 2022
Step by step, learn to develop an operating system on RISC-V

This course is used to teach and demonstrate how to write a simple operating system kernel for the RISC-V platform from scratch.

Oct 1, 2022
📘 CHAPTER-6 📘 10 days of C++. Learn the basics of C++. Other topics will be covered in chapter-7

CPP-BOOK CHAPTER - 6: 10 days of C++. Learn the basics of C++. Other topics will be covered in the next chapter(premium) /* Multi-line Comment */ // S

Oct 25, 2021
C++ OpenGL 3D Game Tutorial Series - Learn to code an OpenGL 3D Game in C++ from scratch
C++ OpenGL 3D Game Tutorial Series - Learn to code an OpenGL 3D Game in C++ from scratch

C++ OpenGL 3D Game Tutorial Series is a YouTube Tutorial Series, whose purpose is to help all those who want to take their first steps in the game dev

Sep 29, 2022
My projects while i learn C language.
My projects while i learn C language.

Coding Exercises Projects that i made while i am learning C language. Exercise 1: prime-numbers.c It is a program that checks whether the given number

Apr 12, 2022
A simple program to solve Math3 book problems.
A simple program to solve Math3 book problems.

MathMan Program This is a simple program to solve Math3 book problems. Explore the docs » View Demo · Report Bug · Request Feature Table of Contents A

Feb 28, 2022
A project uses for beginners, who wants to learn basic Cpp.

Learning Basic Cpp The basic project for who wants to learn Cpp. Notes: All the files are coded using Microsoft Visual Studio 2019. If you want to cod

Jan 28, 2022
learn how to use BPF/eBPF
learn how to use BPF/eBPF

学习Linux BPF/eBPF 编程 打造学习BPF知识的中文社区。

Sep 30, 2022
The repository contains DP problems.

Dyannamic Programming Question :- This repository contains solutions for the CSES Prblem Set Solution of DP seciton as well as different coding platfo

Jan 28, 2022
About Write a program to create a circular doubly linked list and perform insertions and deletions of various cases

Write a program to create a circular doubly linked list and perform insertions and deletions of various cases Circular Doubly Linked List Circular Dou

Aug 28, 2021
This is a simple UNITEST to test the implementation of the the various container types of the C++ standard template library

ft_container UNITest. This is a simple UNITEST to test the implementation of the the various container types of the C++ standard template library that

Sep 17, 2022
Programming-Basics - This Repository Contains source codes of various programming languages. Please Contribute to make this Useful.
Programming-Basics - This Repository Contains source codes of various programming languages. Please Contribute to make this Useful.

Programming-Basics About ❓ Want To Start your Open-Source Journey Without Facing Difficulties?,If Yes, Then You Are at The Right Place! ?? Don't Know

Sep 28, 2022
Determine programatically C from C++ as well as various versions

determine_c_or_cpp Determine programatically C from C++ as well as various versions In C the comma operator forces an array-to-pointer conversion whil

Sep 21, 2022
This repo is all about different data structures and algorithms..
This repo is all about different data structures and algorithms..

Data Structure and Algorithm : Want to learn data strutrues and algorithms ??? Then Stop thinking more and start to learn today. This repo will help y

Jul 10, 2022