Skip to content

Added Linear Search in Java - #69

Open
Ashish7129 wants to merge 2 commits into
NachiketaVadera:masterfrom
Ashish7129:master
Open

Added Linear Search in Java#69
Ashish7129 wants to merge 2 commits into
NachiketaVadera:masterfrom
Ashish7129:master

Conversation

@Ashish7129

@Ashish7129 Ashish7129 commented Oct 5, 2020

Copy link
Copy Markdown

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

Added Linear Search in Java

@NachiketaVadera NachiketaVadera left a comment

Copy link
Copy Markdown
Owner

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