Skip to content

Conversation

@manavbhikadiya
Copy link

No description provided.

@manavbhikadiya
Copy link
Author

Linear Search

@manavbhikadiya
Copy link
Author

i have already added the solution. please accept my pull request.

Copy link
Owner

@fengyuanyang fengyuanyang left a comment

Choose a reason for hiding this comment

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

i have already added the solution. please accept my pull request.

It's not only about the solution , we expect Test driven development , however I didn't see your unit tests here

int x = 10;

// Function call
int result = search(arr, x);
Copy link
Owner

Choose a reason for hiding this comment

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

Hi @manavbhikadiya
Thanks for your effort here , can you have a look on other tests,
We are ought to use unit tests here , not main method

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.

2 participants