scala-algorithms
scala-algorithms copied to clipboard
[Strings] Longest palindromic substring search
Add an algorithm to search for the longest palindromic sub-string in a given string
Could you assign this to me?
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 assign this to me?
@ayushpaine sure. Assigning it to you. Please define a new method in
StringAlgosand implement it withinStringUtils.
Could you please tell how to do that? My apologies, I am a beginner in scala.
Could you assign this to me?
@ayushpaine sure. Assigning it to you. Please define a new method in
StringAlgosand implement it withinStringUtils.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.
- Have a look at learning_resources
- Check CONTRIBUTING
- How to write a test case in Scala