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

[Strings] Longest palindromic substring search #58

Open
sentenza opened this issue Oct 10, 2021 · 4 comments
Open

[Strings] Longest palindromic substring search #58

sentenza opened this issue Oct 10, 2021 · 4 comments
Labels
good first issue Good for newcomers hacktoberfest HacktoberFest

Comments

@sentenza
Copy link
Owner

Add an algorithm to search for the longest palindromic sub-string in a given string

@sentenza sentenza added good first issue Good for newcomers hacktoberfest HacktoberFest labels Oct 10, 2021
@ayushpaine
Copy link

Could you assign this to me?

@sentenza
Copy link
Owner Author

Could you assign this to me?

@ayushpaine sure. Assigning it to you. Please define a new method in StringAlgos and implement it within StringUtils.

@ayushpaine
Copy link

ayushpaine commented Oct 11, 2021

Could you assign this to me?

@ayushpaine sure. Assigning it to you. Please define a new method in StringAlgos and implement it within StringUtils.

Could you please tell how to do that? My apologies, I am a beginner in scala.

@sentenza
Copy link
Owner Author

sentenza commented Oct 11, 2021

Could you assign this to me?

@ayushpaine sure. Assigning it to you. Please define a new method in StringAlgos and implement it within StringUtils.

Could you please tell how to do that? My apologies, I am a beginner is scala.

@ayushpaine You should define the new method in the trait (the interface) and then you should add an implementation in the StringUtils object. Once you have done that you have to write unit tests.

For instance have a look at bubbleSort() and how it was defined in the trait and how that function is tested here.

@ayushpaine ayushpaine removed their assignment Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest HacktoberFest
Projects
None yet
Development

No branches or pull requests

2 participants