Java icon indicating copy to clipboard operation
Java copied to clipboard

[OTHER] Cleanup classes with very strange design

Open vil02 opened this issue 1 year ago • 29 comments

What would you like to share?

There are probably many classes in this repository, which have some strange design - we should update all of them. I think we can start with cleaning up these:

List of the classes needing redesign:

  • [ ] AllPathsFromSourceToTarget
  • [x] ArrayCombination (#5181 by @yuvashreenarayanan3)
  • [x] Combination
  • [ ] ColumnarTranspositionCipher
  • [x] StringMatchFiniteAutomata (#5222 by @samuelfac)
  • [x] LetterCombinationsOfPhoneNumber (#5221 by @samuelfac)

(@siriak, @BamaCharanChhandogi feel free to edit the list above)

Additional information

How to contribute

  1. select one class form the list above such that no one else is working on (and is not done yet),
  2. write a comment "Hey, I am working on XYZ", where XYZ is your selected class,
  3. in your fork, please create a branch like cleanup_XYZ,
  4. make your changes and create a pull-request, in which you mention this issue by writing something like "Related to #(this issue number)". Please make sure that you add all necessary tests. If possible, prefer parametrized tests.

Also feel free to suggest a class, which should be added to the list above.

vil02 avatar May 18 '24 10:05 vil02

Hey, I am working on "ArrayCombination"

yuvashreenarayanan3 avatar May 26 '24 16:05 yuvashreenarayanan3

Hello I´m new here and I would like to help !!!

JeysiStrokk avatar Jun 04 '24 10:06 JeysiStrokk

Hello I´m new here and I would like to help !!!

@JeysiStrokk would you like to work on AllPathsFromSourceToTarget?

vil02 avatar Jun 04 '24 20:06 vil02

@vil02 I´ll gladly do it. I´ll try my best !! Thanks a lot !! I´m working on "AllPathsFromSourceToTarget"

JeysiStrokk avatar Jun 05 '24 09:06 JeysiStrokk

I´m working on "LetterCombinationsOfPhoneNumber"

samuelfac avatar Jun 12 '24 10:06 samuelfac

I´m working on "StringMatchFiniteAutomata"

samuelfac avatar Jun 12 '24 13:06 samuelfac

I´m working on "ColumnarTranspositionCipher"

samuelfac avatar Jun 12 '24 15:06 samuelfac

@vil02 I´ll gladly do it. I´ll try my best !! Thanks a lot !! I´m working on "AllPathsFromSourceToTarget"

Sorry, I refactored this class without seeing that you had already started. Now I saw in your repository that you only added the comments in the class. That's why I make the pull request.

samuelfac avatar Jun 12 '24 16:06 samuelfac

I´m working on "Combination"

samuelfac avatar Jun 12 '24 17:06 samuelfac

Can I work on "Combination", or "AllPathsFromSourceToTarget"? I know in the comments people were supposed to have worked on this, but they aren't marked as complete, so if they still need work I'd be happy to work on one of them.

AbeTheAmatuer avatar Jul 25 '24 17:07 AbeTheAmatuer

@AbeTheAmatuer Sure, feel free to work on them!

siriak avatar Jul 25 '24 20:07 siriak

Thanks, I'll work on Combination.

AbeTheAmatuer avatar Jul 25 '24 20:07 AbeTheAmatuer

@siriak I did some cleanup for Combination. It was mostly fine, so I just changed the class name to, "CombinationGenerator", added some comments and changed a variable name for accuracy. I made a PR.

Edit: Ok so changing the class name impacted a bunch of other files so I changed it back and closed my pull request but I fixed the problem and am not sure how to make another one.

AbeTheAmatuer avatar Jul 25 '24 22:07 AbeTheAmatuer

@AbeTheAmatuer please have a look at:

  • #5223,
  • #5224,
  • #5225,

by @samuelfac - these PR are in the stage almost to be merged. I am not sure if @samuelfac is planning to continue to work on them - it would be a pity if not..

vil02 avatar Jul 26 '24 07:07 vil02

@vil02 Ok, do you want me to just review his commits?

AbeTheAmatuer avatar Jul 26 '24 17:07 AbeTheAmatuer

Hey, I am working on Combination

Dileepkumar18311 avatar Jul 31 '24 14:07 Dileepkumar18311

Hey, can I help and Contribute in something ?

adityasarfare avatar Aug 19 '24 22:08 adityasarfare

hey im working on AllPathsFromSourceToTarget

adityasarfare avatar Aug 20 '24 15:08 adityasarfare

Hey! I'm working on ColumnarTranspositionCipher

can you please tell me if you have any specific requirement in mind.

TarunVishwakarma1 avatar Sep 10 '24 08:09 TarunVishwakarma1

can you please tell me if you have any specific requirement in mind.

#5223 is a good place to look at. A straightforward implementation with reasonable tests, should be good enough.

vil02 avatar Sep 10 '24 16:09 vil02

Sure, I'll start working on this 😊😊

TarunVishwakarma1 avatar Sep 13 '24 17:09 TarunVishwakarma1

Hey @TarunVishwakarma1, if you are good I am happy to work on #5223

SAIVARDHAN15 avatar Sep 24 '24 12:09 SAIVARDHAN15

Yes, sure go ahead.

TarunVishwakarma1 avatar Sep 24 '24 13:09 TarunVishwakarma1

thanks mate! I will be working on "ColumnarTranspositionCipher"

SAIVARDHAN15 avatar Sep 25 '24 05:09 SAIVARDHAN15

I will be working on "AllPathsFromSourceToTarget"

Anurag127001 avatar Sep 30 '24 14:09 Anurag127001

hey @Anurag127001! are you working on "AllPathsFromSourceToTarget", if you need any help, I happy to do so.

SAIVARDHAN15 avatar Oct 09 '24 17:10 SAIVARDHAN15

Hello, I am working on "Combination"

lorduke22 avatar Oct 19 '24 13:10 lorduke22

@siriak & @SAIVARDHAN15 is ColumnarTranspositionCipher available? I am new to open source contribution can I start work with this?

Soumayadip937 avatar Oct 19 '24 21:10 Soumayadip937

hey there @Soumayadip937, ColumnarTranspositionCipher is alreday closed. You may checkout other open issues.

SAIVARDHAN15 avatar Oct 27 '24 10:10 SAIVARDHAN15

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution!

github-actions[bot] avatar Dec 01 '24 00:12 github-actions[bot]