Giter Club home page Giter Club logo

ayush7614 / daily-coding-ds-algo-practice Goto Github PK

View Code? Open in Web Editor NEW
314.0 9.0 477.0 3.68 MB

A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐

Home Page: https://daily-ds-algo.github.io/DS-Algo-Website/

License: MIT License

C 8.39% C++ 65.02% Python 8.09% Java 18.49%
data-structures algorithms-and-data-structures algorithms cpp java c python hacktoberfest2021 hacktoberfest-accepted

daily-coding-ds-algo-practice's Introduction

🎯💻Daily-Coding-DS-ALGO-Practice🏆🏅

This repository contains all the Competitive programming questions and Interview questions. The main aim of this repository is to help students who are preparing for the interview. This contains questions from popular coding platforms including Hackerank, Codechef, LeetCode, Codeforces, GeeksforGeeks, and many more.

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

Open Source Programs that we are part of

LGMSOC LGMSOC

PRs Welcome GitHub pull requests GitHub issues

You can take help from these links and add questions in this repository after solving and learning any kind of contribution is welcome

Owner

Popular questions in

  • Hackerank
  • Codechef
  • Codeforce
  • Leetcode
  • Gfg
  • Data Structures
  • Algorithms

Overview

The main aim of the project is to bring all the Interview and Competitive programming questions under one repository.

Contributing

1. Fork this repository.

2. Clone your forked copy of the project.

git clone --depth 1 https://github.com/<your_name>/Daily-Coding-DS-ALGO-Practice.git

3. Navigate to the project directory 📁 .

cd Daily-Coding-DS-ALGO-Practice

4. Add a reference(remote) to the original repository.

git remote add upstream https://github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice

5. Check the remotes 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 desired changes to the code base.

9. Track your changes:heavy_check_mark: .

git add . 

10. Commit your changes .

git commit -m "Relevant message"

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

git push -u origin <your_branch_name>

12. To create a pull request, click on compare and pull requests. Please ensure you compare your feature branch to the desired branch of the repository you are supposed to make a PR to.

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

14. Click on Create Pull Request.

15 Voila! You have made a PR to the awesome-developer-portfolio project. Sit back patiently and relax while your PR is reviewed.

In case of any help, please free to contact me via mail @ [email protected]

✨ Contributors

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

🌟 Stargazers Over Time 🌟

Stargazers over time

Project Maintainers 😃


Amit Kumar Mishra

💻

Saurabh Tiwari

💻

Ravi Kumar

💻

Project Admin ❤️

                        

Happy Coding 👨‍💻

daily-coding-ds-algo-practice's People

Contributors

19bce502 avatar 2000shivam659 avatar amit-45 avatar amit366 avatar ananya123-gif avatar anshika-srivastava avatar arpan-vs avatar ayush7614 avatar devacius avatar gunjan-g avatar hanesh-jogani avatar harsh6768-svg avatar kamleshjoshi8102 avatar karnika06 avatar manognyaa avatar manuvarghese0603 avatar mitali-1703 avatar pratyush-kr avatar rajeshkumar2024 avatar ravikr126 avatar rounak-chauhan avatar sameeksharl avatar sanskriti2401 avatar saurabh4626 avatar shivanshuvishnoi avatar siddhi-244 avatar skimran2000 avatar snehaagarwal361 avatar tasnimanas avatar vinayakmohite4040 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

daily-coding-ds-algo-practice's Issues

Anagram in Python

Aim

  • To contribute to LGM-SoC'21.

Details

  • Code for finding Anagram.

OCTAT image not working. Can u please short out it.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Branch referenced in git pull is not correct

Describe the bug
In README.md, the command to pull the changes to the local repo is given as

git pull upstream master

I think the correct command is

git pull upstream main

because the branch in the repo is main not the master.
Soon, I will generate a PR to fix the issue.

To Reproduce
Execute the command

git pull upstream master

in the repo.

Expected behavior
It should have updated the repo with the latest changes from the upstream.

Screenshots
image

Adding solution of Codeforces problem Lucky Sum of Digits

With growing era of Competitive Programming and global challenges, people around the world are now more relying on Codeforces to give coding contest and practice skills. Codeforces provides brilliant interface to users with brilliant Questions which are asked in various interview rounds of company.

With so many questions on same side, people hang on between the mess of Questions and don't able to make advantage of quality of Questions on CF.

Hence, I want to build a roadmap for beginners to start with these questions according to difficulty and will guide them to give answers of questions as well.

This is the starting Question for beginners, more questions will be added by creating issues and I will make seperate folder for Codeforces.

Interview questions : HackerRank

Aim :to shortlist questions for students with less time who are looking for placements

Details : I m having 3 stars in hackerrank problem solving in c++ .My pr would contain all the important questions from hackerrank in c++.

  • What the features will your script have
  • I will create a single folder and will regularly update it with new questions and make new commits regularily .

call_by_value

Greetings sir/Mam,
I would like to contribute the code for this issue in c++/cpp.
The code is ready. I have added the code , along with proper explanation of the algorithm , test cases , time complexity and space complexity of the same, as per the guidelines.
Kindly assign it to me.
This is regarding letsgrowmore.in/soc/21

I have made a PR for the same.
Kindly assign this issue!!

Regards,
Hitain Kakkar

Dutch National Flag Algorithm

Greetings sir/Mam,
I would like to contribute the code for this issue in C++/CPP.
The code is ready. I have added the code , along with proper explanation of the algorithm , test cases , time complexity and space complexity of the same, as per the guidelines.
Kindly assign it to me.
This is regarding letsgrowmore.in/soc/21

I have made a PR for the same.
Kindly assign this issue!!

Regards,
Hitain Kakkar

Maximum for every window of size K .

Maximum in each window of size K

Problem statement
find the maximum for each and every contiguous subarray of size k
Example:
Given : Array a[]={2,5,1,8,3} & K (i.e. Window Size)=2
Output= 5 5 8 8

Hey @Ayush7614 I would like to solve this issue using sliding window technique + Deque.

Language : I am interested to work in C++.

please assign this issue to me under LGM-SOC 21.

Searching Algorithms with Number of comparisons and Swaps

Hi there,
I want to add different sorting algorithms implemented using C++ which counts the number of swaps and comparisons required at the given input.
Also it prints the table from 0 to 100 at particular intervals and counts the number of comparisons at those inputs for worst, best and average cases.
Please assign me this under LGM-SOC'2021.

Solved : HackerRank

Aim To present the solution of all the problem solving questions in c++

Details: I m having 4 stars in HackerRank and I would love to share my solutions which will be very easy to understand .

  • What the features will your script have
    I will make a single folder and will update it regularly with new commits .

Addition of Manipulated Sieve of Erastothenes

Manipulated Sieve is right now in huge demand as well as asked in many questions of Codechef and Codeforces.

This improved version works better than normal Sieves of Erastothenes and can work upto constraints N<=10^7.

This algorithm works in O(n) which is much more optimised solution than normal Sieve.

Spell checker

Aim

Create a spell checker to check whether the comment in the code has the right spelling or not...

Details

Suppose Someone creates a program to check whether the string is a pangram or not and in the comment, by mistake he/she write the spelling of pangram wrong i.e. pangam so the spell check will notify in check that the spelling is wrong i.e. pangam->pangram

Can I work on this

Get_Maximum_Maze_Paths

Greetings sir/Mam,
I would like to contribute the code for this issue in Java.
The code is ready. I have added the code , along with proper explanation of the algorithm , test cases , time complexity and space complexity of the same, as per the guidelines.
Kindly assign it to me.
This is regarding letsgrowmore.in/soc/21

I have made a PR for the same.
Kindly assign this issue!!

Regards,
Hitain Kakkar

Greedy_algorithm_to_find_minimum_number_of_coins

Greetings sir/Mam,
I would like to contribute the code for this issue in C++/CPP.
The code is ready. I have added the code , along with proper explanation of the algorithm , test cases , time complexity and space complexity of the same, as per the guidelines.
Kindly assign it to me.
This is regarding letsgrowmore.in/soc/21

I have made a PR for the same.
Kindly assign this issue!!

Regards,
Hitain Kakkar

Leetcode locked problems

Aim

locked problems on leetcode

Details

problems and solutions of locked problems on leetcode

Added on Dp

Aim

  • What is the objective of the Script

Details

  • What the features will your script have

Sieve of Eratosthenes

Aim

  • Implementation of the algorithm in C.

Details

  • Algorithm for finding all the prime numbers in a segment [1;n].

Chinese_Remainder_Theorem

Greetings sir/Mam,
I would like to contribute the code for this issue in C++/CPP.
The code is ready. I have added the code , along with proper explanation of the algorithm , test cases , time complexity and space complexity of the same, as per the guidelines.
Kindly assign it to me.
This is regarding letsgrowmore.in/soc/21

I have made a PR for the same.
Kindly assign this issue!!

Regards,
Hitain Kakkar

call_by_reference

Greetings sir/Mam,
I would like to contribute the code for this issue in C++/CPP.
The code is ready. I have added the code , along with proper explanation of the algorithm , test cases , time complexity and space complexity of the same, as per the guidelines.
Kindly assign it to me.
This is regarding letsgrowmore.in/soc/21

I have made a PR for the same.
Kindly assign this issue!!

Regards,
Hitain Kakkar

Different readme files for contributor and how to contribute section

Is your feature request related to a problem? Please describe.
Adding how to contribute and contributor in the same readme.md not look too good it creates the user to scroll much
Describe the solution you'd like
I think we should add the contributor name and how to contribute in a different readme file so that makes the work easy and looks good

Additional context
NA

Welcome to LGM-SOC'21(LetsGrowMore's Summer Of Code)

Hello, Everyone ✨, Hope you guys are doing fine! 🙌

Thanks for showing your interest in being a part of the LGM-SOC21(https://letsgrowmore.in/soc/) 💥

We are super delighted to have you on board for your Contributions in Daily-Coding-DS-ALGO-Practice(https://github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice) 🙌

LGM – SOC is an online program designed to encourage student participation in open source software development under the guidance of mentors from the open source community. As it’s the present demand and students need, so we come with LGM – SOC.

Tokenization of String

Hey, @Ayush7614 I want to contribute the following program in the Data Structure folder as a SOC'21 Participant.

Tokenization of string
Tokenizing a string denotes splitting a string with respect to some delimiter. Using strtok().

Assign me if possible. Thank You.

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.