Skip to content

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