This is a repository entirely dedicated to all kind of questions ranging from basic DSA to CP. It aims to provide a solution to different questions. πŸ“š

Overview

πŸŽ‰ CP-DSA-Questions πŸŽ‰

This is a repository entirely dedicated to all kind of questions ranging from basic DSA to CP. It aims to provide a solution to different questions. These questions are from various coding platforms like Hackerrank, HackerEarth, Leetcode, Codechef, Codeforces, InterviewBit, AtCoder. It also consist 450 DSA Sheet.

πŸŽ“ Platforms To Be Considered πŸŽ“

  • HackerRank
  • HackerEarth
  • Leetcode
  • Codechef
  • Codeforces
  • InterviewBit
  • AtCoder
  • GFG

Languages To Be Considered

  • C++
  • C
  • Python
  • Java
  • JavaScript

For interaction and queries: Join the community


πŸŽ‡ How To Contribute πŸŽ‡

Read contribution guidelines

To start contributing, follow the below guidelines:

🌟 . Star 🌟 the repo to appreciate the work.

  1. Take a look at the existing issues or create your own issues. Wait for the Issue to be assigned to you after which you can start working on it.

  2. Find a question you can solve from any of these platforms.

  3. Open an issue.

  4. Get it assigned.

  5. Work on it i.e

    • Solve that question by yourself.
    • Add it to your forked repo, if the folder doesn't exist create it first and then add your code.
  6. Make a pull request.

  7. Wait for it to be merged

  8. And WOAHLAAAAAAAA! πŸŽ‰ You contributed to this project.

🎏 Steps For Making A Pull Request 🎏

1. Fork this repository.

2. Clone your forked copy of the project.

git clone https://github.com/your_username/CP-DSA-Questions

3. Navigate to the project directory πŸ“ .

cd CP-DSA-Questions

4. Add a reference(remote) to the original repository to get all the changes from the remote.

git remote add upstream https://github.com/kanak22/CP-DSA-Questions

5. Check the remote for this repository.

git remote -v

6. Always take a pull from the upstream repository to your master branch to keep it at par with the main project (updated repository).

git pull upstream main

7. Create a new branch.

git checkout -b <your_branch_name>

8. Perform your changes to the code base.

9. Track your changes.

git add . 

10. Commit your changes.

git commit -m "Relevant message"

11. Push the committed changes in your branch to your remote repo.

git push -u origin <your_branch_name>

12. To create a pull request, click on Compare and pull requests.

13. Add appropriate title and description to your pull request explaining your changes and efforts.

14. Click on Create Pull Request.

15 πŸŽ‰ WOAHHHH!!!! πŸŽ‰ you made a pull request, Wait for it to get approved and merged πŸ€— πŸ€—

πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ HAPPY CONTRIBUTING! πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰

Issues
  • Madoka and Ladder Decomposition - Codechef

    Madoka and Ladder Decomposition - Codechef

    Link of the question

    Provide the link of the question and ask for assignment of the issue. https://www.codechef.com/problems/LADCOMP

    Coding platform

    • [ ] Hackerrank
    • [ ] HackerEarth
    • [x] Codechef
    • [ ] Codeforces
    • [ ] Leetcode
    • [ ] InterviewBit
    • [ ] AtCoder
    • [ ] 450 DSA Sheet

    Programming language

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

    Additional context (OPTIONAL)

    Add any other context or screenshots about the feature request here. Hey I am Kushal participating in Hactoberfest 2021 Please Assign me this issue.

    hacktoberfest 
    opened by KushalMehta39 19
  • Create Letter Combinations of a Phone Number

    Create Letter Combinations of a Phone Number

    Create Letter Combinations of a Phone Number

    Write a code in java.

    Make a new file with name Create Letter Combinations of a Phone Number and write a program

    issue :- combination of phone Number problem (leetcode) Medium issue number #313

    opened by jainss 13
  • Reversing the array -450 algo

    Reversing the array -450 algo

    Link of the question

    Provide the link of the question and ask for assignment of the issue. https://www.geeksforgeeks.org/write-a-program-to-reverse-an-array-or-string/

    Coding platform

    • [ ] Hackerrank
    • [ ] HackerEarth
    • [ ] Codechef
    • [ ] Codeforces
    • [ ] Leetcode
    • [ ] InterviewBit
    • [ ] AtCoder
    • [x] 450 DSA Sheet

    Programming language

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

    Additional context (OPTIONAL)

    I want to contribute under hacktoberfest'21 .Kindly assign it to me

    opened by Sri-vishnu-r1431 12
  • Rotting Oranges Leetcode Problem 994

    Rotting Oranges Leetcode Problem 994

    Link of the question

    https://leetcode.com/problems/rotting-oranges/

    Coding platform

    • [ ] Hackerrank
    • [ ] HackerEarth
    • [ ] Codechef
    • [ ] Codeforces
    • [x] Leetcode
    • [ ] InterviewBit
    • [ ] AtCoder
    • [ ] 450 DSA Sheet

    Programming language

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

    Additional context (OPTIONAL)

    hacktoberfest 
    opened by neenad99 11
  • Remove Outermost Parentheses - LeetCode

    Remove Outermost Parentheses - LeetCode

    Link of the question

    Provide the link of the question and ask for assignment of the issue. Question - https://leetcode.com/problems/remove-outermost-parentheses/

    Coding platform

    • [x] Leetcode

    Programming language

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

    @kanak22 Please assign it to me

    hacktoberfest 
    opened by silicolicious 9
  • I have done the code in python. kindly merge it. if any conflicts let me know.

    I have done the code in python. kindly merge it. if any conflicts let me know.

    Related Issue

    • Info about the related issue

    Closes: #255

    Describe the changes you've made

    Give a clear description what modifications you have made

    Mention any unusual behaviour of your code (Write NA if not)

    Any unusual behaviour of your code

    Checklist:

    (To mark, write x inside the square brackets like this: [x])

    • [ ] My code follows the guidelines of this project.
    • [ ] I have performed a self-review of my own code.
    • [ ] I have commented my code, particularly whereever it was hard to understand.
    • [ ] My changes generate no new warnings.

    Additional Info (optional)

    Any additional information you want to give

    hacktoberfest-accepted 
    opened by satyam-mahajan 9
  • LeetCode 12 - Integer to Roman.

    LeetCode 12 - Integer to Roman.

    Link of the question

    Question link - https://leetcode.com/problems/integer-to-roman/

    Coding platform

    • [ ] Hackerrank
    • [ ] HackerEarth
    • [ ] Codechef
    • [ ] Codeforces
    • [x] Leetcode
    • [ ] InterviewBit
    • [ ] AtCoder
    • [ ] 450 DSA Sheet

    Programming language

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

    Additional context (OPTIONAL)

    @kanak22 Kindly assign this question to me under hacktoberfest '21.

    hacktoberfest 
    opened by kshitijver 8
  • added the solution to problem  276 B and  450 B

    added the solution to problem 276 B and 450 B

    Related Issue

    • added solution of problem 276 B Little Girl and Game 1300 on rated codeforces

    Closes: #321 and #331

    Describe the changes you've made

    • created a 1300 Rating file in codeforces folder
    • created a 276 B Little Girl and Game.cpp file in 276 B Little Girl and Game rated folder
    • created a Jzzhu_and_Sequences_450_B.c file in Jzzhu and Sequences-450-B rated folder

    Mention any unusual behaviour of your code (Write NA if not)

    NA

    Checklist:

    -->

    • [x] My code follows the guidelines of this project.
    • [x] I have performed a self-review of my own code.
    • [x] I have commented my code, particularly whereever it was hard to understand.
    • [x] My changes generate no new warnings.

    Additional Info (optional)

    Any additional information you want to give

    hacktoberfest-accepted 
    opened by adityaaggarwal12 7
  • 1468N - Waste Sorting

    1468N - Waste Sorting

    Related Issue

    • Info about the related issue

    Closes: #5

    Added the solution for Waste Sorting in C++.

    Checklist:

    (To mark, write x inside the square brackets like this: [x])

    • [x] My code follows the guidelines of this project.
    • [x] I have performed a self-review of my own code.
    • [x] I have commented my code, particularly whereever it was hard to understand.
    • [x] My changes generate no new warnings.

    Additional Info (optional)

    Any additional information you want to give

    hacktoberfest-accepted 
    opened by samarthraj11 7
  • Prepbytes Question

    Prepbytes Question

    Link of the question

    Provide the link of the question and ask for assignment of the issue.

    Coding platform

    • [ ] Hackerrank
    • [ ] HackerEarth
    • [ ] Codechef
    • [ ] Codeforces
    • [ ] Leetcode
    • [ ] InterviewBit
    • [ ] AtCoder
    • [ ] 450 DSA Sheet

    Programming language

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

    Additional context (OPTIONAL)

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

    hacktoberfest 
    opened by mohitchandak 6
  • Map sum of pairs - leetcode

    Map sum of pairs - leetcode

    Related Issue

    Map sum of pairs

    Closes: #300

    Describe the changes you've made

    Provided the most optimal solution for the problem statement

    Mention any unusual behaviour of your code (Write NA if not)

    Any unusual behaviour of your code

    Checklist:

    (To mark, write x inside the square brackets like this: [x])

    • [X] My code follows the guidelines of this project.
    • [X] I have performed a self-review of my own code.
    • [X] I have commented on my code, particularly wherever it was hard to understand.
    • [X] My changes generate no new warnings.

    Additional Info (optional)

    Most Optimal solution using trie data structure

    hacktoberfest-accepted 
    opened by sarthakvijay 6
  • Binary Search - Leet Code

    Binary Search - Leet Code

    Link of the question

    Provide the link of the question and ask for assignment of the issue. https://leetcode.com/problems/binary-search/

    Coding platform

    • [ ] Hackerrank
    • [ ] HackerEarth
    • [ ] Codechef
    • [ ] Codeforces
    • [x] Leetcode
    • [ ] InterviewBit
    • [ ] AtCoder
    • [ ] 450 DSA Sheet

    Programming language

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

    Additional context (OPTIONAL)

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

    opened by Chirag-007 9
  • Added code for Kadane's Algorithm in C++

    Added code for Kadane's Algorithm in C++

    Related Issue

    • Info about the related issue

    Closes: #567

    Describe the changes you've made

    Added code for Kadane's Algorithm in C++.

    Mention any unusual behaviour of your code (Write NA if not)

    NA

    Checklist:

    (To mark, write x inside the square brackets like this: [x])

    • [x] My code follows the guidelines of this project.
    • [x] I have performed a self-review of my own code.
    • [x] I have commented my code, particularly whereever it was hard to understand.
    • [x] My changes generate no new warnings.

    Additional Info (optional)

    Any additional information you want to give

    opened by khushisinha20 0
  • Kadane's Algorithm (450 DSA Sheet) in C++.

    Kadane's Algorithm (450 DSA Sheet) in C++.

    Link of the question

    https://practice.geeksforgeeks.org/problems/kadanes-algorithm-1587115620/1. Please assign Kadane's Algorithm in C++ to me.

    Coding platform

    • [ ] Hackerrank
    • [ ] HackerEarth
    • [ ] Codechef
    • [ ] Codeforces
    • [ ] Leetcode
    • [ ] InterviewBit
    • [ ] AtCoder
    • [x] 450 DSA Sheet

    Programming language

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

    Additional context (OPTIONAL)

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

    hacktoberfest 
    opened by khushisinha20 0
  • House robber II

    House robber II

    Link of the question

    https://leetcode.com/problems/house-robber-ii/

    Coding platform

    • [ ] Hackerrank
    • [ ] HackerEarth
    • [ ] Codechef
    • [ ] Codeforces
    • [x] Leetcode
    • [ ] InterviewBit
    • [ ] AtCoder
    • [ ] 450 DSA Sheet

    Programming language

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

    Additional context (OPTIONAL)

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

    hacktoberfest 
    opened by dhruvin5 1
  • Two sum using java

    Two sum using java

    Related Issue

    • Info about the related issue

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

    Describe the changes you've made

    • Their is not many changes I have made to this code it is a simple code to solve the two sum problem of leetcode

    Give a clear description what modifications you have made

    Mention any unusual behaviour of your code (Write NA if not)

    Any unusual behaviour of your code - NA

    Checklist:

    (To mark, write x inside the square brackets like this: [x])

    • [x] My code follows the guidelines of this project.
    • [x] I have performed a self-review of my own code.
    • [x] I have commented my code, particularly whereever it was hard to understand.
    • [x] My changes generate no new warnings.

    Additional Info (optional)

    Any additional information you want to give

    • Yes please accept my PR
    opened by SuvamRoutray 1
  • 123. Best Time to Buy and Sell Stock III

    123. Best Time to Buy and Sell Stock III

    Link of the question

    https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/

    Coding platform

    • [ ] Hackerrank
    • [ ] HackerEarth
    • [ ] Codechef
    • [ ] Codeforces
    • [x] Leetcode
    • [ ] InterviewBit
    • [ ] AtCoder
    • [ ] 450 DSA Sheet

    Programming language

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

    Additional context (OPTIONAL)

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

    hacktoberfest 
    opened by dhruvin5 4
Owner
Kanak
learning and exploring new things! πŸ“š
Kanak
Northstar-dedicated - Docker container for the Northstar dedicated server. Also includes general notes on running the dedi on Linux. WIP.

northstar-dedicated Docker image for the Northstar dedicated server. Not ready yet (it'll probably be another day or two). Versioning Tentative. Stabl

null 72 Jul 21, 2022
This project aims to provide a framework and a solid implementation of different techniques

This project aims to provide a framework and a solid implementation of different techniques for generating complete seamless procedural cities with interiors for all buildings.

Tobias Elinder 570 Aug 8, 2022
This repository contains important CP questions and Leetcode questions.

Hacktoberfest 2021 For Beginners, students and developers this is great opportunity to learn and contribute to open source. Link To HacktoberFest 2021

Hawk 2 Oct 22, 2021
The home for algorithms ranging from searching to search all the way to dynamic programming, branch and bound, etc.

Algorithms The home for algorithms ranging from searching and sorting all the way to dynamic programming algorithms, divide and conquer, etc. What are

null 1 Dec 6, 2021
This repo contains solution of 450 DSA sheet by love babbar

450DSA This repo contains solution of 450 DSA sheet by love babbar . Here is the link for that list : https://450dsa.com/ Guidlines to be followed Onl

null 4 Jul 18, 2022
DSA Practice Questions

DSA Practice Questions Supported Platforms LeetCode HackerRank CodeForces CodeChef GFG Rule File should be QuestionCode.extention in this format Each

null 5 Oct 25, 2021
Competitive Programming - ProgrammingπŸ‘¨β€πŸ’» Questions on BinarySearchπŸ’», LeetCodeπŸ’», CodeChefπŸ’», CodeforcesπŸ’»,DSA 450

?? Hacktoberfest2021 ?? This repository is open to all members of the GitHub community. Any member can contribute. Contribute according to the steps g

Anupam Kumar Krishnan 119 Aug 2, 2022
Is this hardware solution the ultimate in switch bounce elimination? Simple PCB, cheap components = final solution!

#230 Ultimate Switch Bounce Eliminator Direct link to video: https://youtu.be/b2uUYiGrS5Y It's time to try a final, alternative approach to the ubiqui

Ralph Bacon 5 Mar 25, 2022
Repository dedicated for beginner to compete in Hacktoberfest 2021 challenge . Create HactoberFest Pull Request

??️ HACKT0BERFEST-2021 ?? This repo's main purpose is to help newbies ?? to complete the Hacktoberfest Challenge. STEPS:- 1. Create a GitHub account a

null 48 Apr 14, 2022
Create a calculator of any kind in any language, create a pr.

calculators Create a calculator of any kind in any language, create a pr. Create a calculator of any type using the programming language of your choic

Akshay Gautam 2 Dec 1, 2021
mstatus is a super minimal entirely signal based statusbar for DWM.

mstatus is a uber-minimalistic signal based statusbar for DWM. All components of the statusbar are modules that must either be written by the user, or written by someone else and copied by the user.

Thomas Voss 1 Feb 2, 2022
An esoteric programming language based entirely on regexes

Resub An esoteric programming language built around regexes Resub (Regex Substitution or Repeated Substitution) is an esoteric programming language wh

null 6 Apr 18, 2022
Arbitrary Precision provides C++ long integer types that behave as basic integer types. This library aims to be intuitive and versatile in usage, rather than fast.

Arbitrary Precision (AP) Cross-platform and cross-standard header-only arbitrary precision arithmetic library. Currently it offers integer types that

null 16 Aug 3, 2022
It's an 90 days challenge where all important concept of DSA I will be learning and solving using C++ or Java.

#90DaysDSA It's an 90 days challenge where all important concept of DSA I will be learning and solving using C++ or Java. Day 1 & 2 -> Space and Time

Priya_pp 1 Dec 11, 2021
The PNT Integrity Library provides users a method to verify the integrity of the received GPS data and ranging signals, thereby improving resiliency against potential GPS signal loss.

PNT Integrity Library The PNT Integrity Library provides users a method to verify the integrity of the received GPS data and ranging signals, thereby

Cybersecurity and Infrastructure Security Agency 39 Jul 31, 2022
Some sketches for the VL53L5CX ranging camera for use with the Arduino IDE

VL53L5CX Some examples for the ST's VL53L5CX 8 x 8 pixel ranging camera using Simon Levy's Arduino library and Seth Bonn's multi-byte I2C read and wri

Kris Winer 17 May 4, 2022
Arduino library for ST Microelectronics VL53L5 multizone Time-of-Flight ranging sensor

VL53L5 Arduino library for ST Microelectronics VL53L5 multizone Time-of-Flight ranging camera (get it here!) Quickstart Connect I2C in the usual way (

Simon D. Levy 24 May 19, 2022
A repository for Dsa solutions and approaches πŸ“šπŸ“•

Coffee and Code ?? Coffee and Code is a Question Bank that provides solving patterns and resources along with solutions in diffrent language to help y

null 16 Nov 28, 2021
This repository shows my all (maybe all) solved problem (CodeForces & AtCoder) and their description with my Codes!!!

Submissions Auto-generated with ❀ using Harwest Introduction A repository to keep track of problem solving practice, containing solutions from platfor

Obaydullah Khan  3 Aug 4, 2022