EPIJudge icon indicating copy to clipboard operation
EPIJudge copied to clipboard

Solutions to variant problems

Open deveshks opened this issue 5 years ago • 8 comments

I don't see solutions to variants specified in some of the questions. Is that intentional?

I would be happy to contribute solutions to some of the variants as well

deveshks avatar Nov 14 '19 18:11 deveshks

Hi @deveshks ,

We definitely welcome solution to variants; however, the challenge part is that we expect good coding style (like the one you see in the book) also solutions to three languages (as we want to keep consistency).

Those are actually very challenging but if you want to try it, please go ahead!

tsunghsienlee avatar Nov 15 '19 20:11 tsunghsienlee

Hi @tsunghsienlee Thanks for the clarification. Apart from providing code in three languages, am I also expected to provide tsv files for test cases, and well as test hooks ?

Also what will be the nomenclature for the functions for the variant problems? Is there a nomenclature followed for the other question solutions?

deveshks avatar Nov 16 '19 02:11 deveshks

Hi @deveshks ,

We mostly built a test case generator for that. It comes with fixed random seed and integrating with our solution so we use our solution to generate that result.

For now, I would say you should focusing on generating solutions first.

tsunghsienlee avatar Nov 18 '19 01:11 tsunghsienlee

Hi @tsunghsienlee I will start by taking a stab at some of the variant problems in all 3 languages and create a PR accordingly

deveshks avatar Nov 18 '19 18:11 deveshks

hey @deveshks Are you interested in sharing the workload with others in terms of programming language? I know enough Java and C++ to rewrite them in Python while coming up with my own solutions in PY.

alirezaghey avatar Jan 24 '20 11:01 alirezaghey

Sure, I can write up solutions for variants in Python, if you are able to chip in with solutions in Java/C++

deveshks avatar Jan 24 '20 11:01 deveshks

To make sure I got you right: I provide solutions in Python, or rewrite your Java/C++ solution in Python. Is that correct?

alirezaghey avatar Jan 24 '20 11:01 alirezaghey

I was under the impression that you wanted to provide solutions in Java/C++.

I myself am not currently comfortable with Java/C++, but I am well versed with Python, so I can provide solutions in Python, and you provide solutions in Java/C++, and we can take the good bits from both and make PR's

deveshks avatar Jan 24 '20 11:01 deveshks