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

Added Linear Search in Java #69

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Ashish7129
Copy link

@Ashish7129 Ashish7129 commented Oct 5, 2020

Added Linear Search with the "Hello World" in Java
Fixes #65

Added Linear Search in Java
Copy link
Owner

@NachiketaVadera NachiketaVadera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Ashish7129. Thank you for your interest! Unfortunately while executing your program, I got the following error message:

Main.java:4: error: ';' expected
    private static final String ERROR_STRING = "Please provide a list of characters ("'h','e','l','l','o'") and the character to find ('l')";
                                                                                      ^
1 error
compiler exit status 1

Please make the required changes for a successful execution.

BackSlash is missing in the String
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search a character in String "Hello World" via Linear/Binary search in Java
2 participants