The Wayback Machine - https://web.archive.org/web/20201103184419/https://github.com/TheAlgorithms/Java/pull/1393
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

String Matcher Added #1393

Open
wants to merge 1 commit into
base: master
from
Open

Conversation

@askhatkenenbay
Copy link

@askhatkenenbay askhatkenenbay commented Aug 6, 2020

Added Naive and the Knuth–Morris–Pratt string-searching algorithm with Javadoc

@@ -0,0 +1,76 @@
package StringMatch;

This comment has been minimized.

@deadshotsb

deadshotsb Aug 6, 2020
Member

Kindly add a desciption to each solution for better understanding.
It will be better if you add the StringMatch inside a String Algo folder.

}

//helper to stringMatcher
//calculates prefix function

This comment has been minimized.

@afadhitya

afadhitya Aug 7, 2020

Please use the javadoc convention

return new ArrayList<>();
}

static void matchPrint(String text, String pattern) {

This comment has been minimized.

@afadhitya

afadhitya Aug 7, 2020

Please delete this if the method body is empty

return result;
}

//there must not be object of this class

This comment has been minimized.

@afadhitya

afadhitya Aug 7, 2020

Please use javadoc convention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.