Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Competitions solutions #1576

Open
KukretiShubham opened this issue Aug 29, 2021 · 27 comments
Open

[FEATURE] Competitions solutions #1576

KukretiShubham opened this issue Aug 29, 2021 · 27 comments
Assignees
Labels
dont-close This issue/pull request shouldn't be closed enhancement New feature or request

Comments

@KukretiShubham
Copy link
Member

Detailed description

As we all know CPP is quite popular among the competitive programming coders. And a lot of programming challenges are going on. There are very less places where we get solutions or approach to those questions. We will accept the solution after the competition gets over.

Context

This will help budding coders.
We can include only standard platform/competitions solutions like

  1. Codeforces.
  2. Google code jam.
  3. Google HashCode.
  4. Google Kickstart.

This will also encourage community folks to participate and contribute to the solution.

Possible implementation

No response

Additional information

No response

@KukretiShubham KukretiShubham added the enhancement New feature or request label Aug 29, 2021
@Panquesito7 Panquesito7 pinned this issue Aug 29, 2021
@Panquesito7 Panquesito7 added the dont-close This issue/pull request shouldn't be closed label Aug 29, 2021
@ErrolFernandes
Copy link

happy to help with implementing this!we can also host compititons for these questions and add the best solutions into the solution directory.

@pratikgl
Copy link

pratikgl commented Sep 1, 2021

There are very less places where we get solutions or approach to those questions.

Codeforces, Kickstarts, Facebook hacker cup, ... etc. Most of these contests post editorial after the round is over, and they are pretty decent (prepared by problem setters themselves). Streamers like SecondThread, Errichto, William lin also post detailed video solutions (not for every contest tho). Furthermore, after the completion of a round, all the received source codes are open to everyone.

@KukretiShubham
Copy link
Member Author

There are very less places where we get solutions or approach to those questions.

Codeforces, Kickstarts, Facebook hacker cup, ... etc. Most of these contests post editorial after the round is over, and they are pretty decent (prepared by problem setters themselves). Streamers like SecondThread, Errichto, William lin also post detailed video solutions (not for every contest tho). Furthermore, after the completion of a round, all the received source codes are open to everyone.

I posted this as I couldn't find myself. Can you share links with me.
Thanks for letting me know.

@pratikgl
Copy link

pratikgl commented Sep 1, 2021

For example here is the editorial link for Kickstart Round E 2021 Question D (Increasing Sequence Card Games) : Click here

Editorial of Codeforces Round 741 (Div. 2): Click here

Youtube channel SecondThread, William Lin, Errichto

All the submitted solutions are also open to the public and can be accessed in the status section on codeforces. Other platforms have their own ways to access them. eg: my solution for Kickstart 2021 Round E Click here

@KukretiShubham
Copy link
Member Author

Thanks for letting me know. But, standard algorithms are also available everywhere like youtube, blogs etc & but still we are doing it to enhance it. Since we are working to enhance programming and encourage everyone to get into it. I think this works as well.

@rivalq
Copy link

rivalq commented Sep 6, 2021

@KukretiShubham Do you mean something like portal/website, where users can submit solutions to some specific problems appearing in mentioned contests, and other users can just query for some problem's solution in a certain language?
If yes, then if multiple users submit solutions for the same problem should we show all of them or show only some of the top solutions depending on some criterion?.

In my opinion, this is really a nice idea, beginners would definitely find it helpful

@KukretiShubham
Copy link
Member Author

@rivalq my suggestion was not about creating a new portal/website. It was only about submitting the solution for the different contest. With time, folks can optimise and contribute the better solution. For checking the most optimised solution, maintainers or reviewers will have to test and check (I think this is the part we need to think about).

@rivalq
Copy link

rivalq commented Sep 10, 2021

@KukretiShubham yeah that would also be a good idea. I would love to be part of that.
For checking the most optimized solutions, websites like code forces and CodeChef already show stats of each solution. For Google Kickstart and Codejam, we have to manually test them (Google releases the test data, so test data would not be an issue). And Google hashcode is an entirely different type of contest, and I think its solutions are also not public, we may collect some good insights from codeforces's discussion blogs but we still need to think about hashcode.
Also, Sometimes Highly optimized codes are not much readable, according to me code should be easily readable.

Generally, I have to look at someone else code, either I look code who is in my friend list or someone who is at the top at standings.

@tech-nikks
Copy link

We could try to find similar questions for the algorithms or the methods used to solve the problems for the previous contests.
like if a question is solved with a 'x' algorithm we would list the questions which were asked previously on the contests using the same algorithm

P.S:- I'd love to be part of this

@pratyaksh1610
Copy link

We can add problems on a particular topic or an algorithm instead of adding competition solutions, if this could make sense.

@sparsh9
Copy link

sparsh9 commented Oct 1, 2021

The whole dynamic programming is based on 6-7 main questions, other questions are just the derivatives of those problems. So I can include those questions.

@KukretiShubham
Copy link
Member Author

Hey @sparsh9 this is a good idea. Suggest the implementation idea. Shall we create folder within this repo or a complete new repo?

@sparsh9
Copy link

sparsh9 commented Oct 4, 2021

@KukretiShubham This repo seems fine, a new folder will do.

@pratham1103
Copy link

I would like to work on this issue, will you please assign it to me?

@mikyoch
Copy link

mikyoch commented Jul 19, 2022

Is there any min-cost-max-flow implementation in C++?
In a graph folder, there is a max-flow implementation but MCMF is not
That should be included in the repo, in my opinion

@sambhavsaxena
Copy link

@mikyoch do you mean to include the network flow algorithm?

@TheCodeVenturer
Copy link

I want contribute to this repository?
will you please assign it to me

@mishraabhinn
Copy link
Member

I want contribute to this repository? will you please assign it to me

Raise a pr. It will be reviewed by maintainers.

@vinay-126
Copy link

vinay-126 commented Oct 7, 2022

This seems an interesting repository, i would love to work on this one, can you assign this to me..?
@KukretiShubham

@Yashrajput7232
Copy link

I aslo do a lot of competative programing on platforms like code chef , also I have give hashcode and code jam the coding contest of Google. And also know various tips and tricks. So I also want to work on this can you assign this to me?

@Panquesito7
Copy link
Member

There's no need for an assignment: create a PR and it will get reviewed by maintainers. :)

@Panquesito7 Panquesito7 unpinned this issue Apr 30, 2023
@789chandan
Copy link

789chandan commented Oct 2, 2023

I want to enhance Competitions solutions.

@SORVER
Copy link

SORVER commented Sep 6, 2024

I'm looking forward to adding or enhancing competition solutions.

@realstealthninja
Copy link
Collaborator

feel free to start working on it

@realstealthninja
Copy link
Collaborator

Ive assigned you to it

@aminegh20
Copy link
Contributor

Personally, having a separate repository for that is better that adding it here. This repository specializes in Standard Algorithms. I think adding competition solutions diverges a bit from the main purpose.

@realstealthninja
Copy link
Collaborator

Personally, having a separate repository for that is better that adding it here. This repository specializes in Standard Algorithms. I think adding competition solutions diverges a bit from the main purpose.

i dont quite agree since python and other algorithms repository has had leet code and other such competition solutions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dont-close This issue/pull request shouldn't be closed enhancement New feature or request
Projects
None yet
Development

No branches or pull requests