Skip to content

Commit

Permalink
fix: indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
noctera authored May 6, 2022
1 parent 983b534 commit 5e00785
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ This is my repository with self implemented algorithms, written in C++.<br/>Curr

int main() {
std::vector<int> foo{1, 4, 5, 2, 3};
// check if int is in vector with lenear search
if (algocpp::search::linearSearch(foo, 2)) {
std::cout << "found" << std::endl;
}
// check if int is in vector with lenear search
if (algocpp::search::linearSearch(foo, 2)) {
std::cout << "found" << std::endl;
}
}
```

Expand Down

0 comments on commit 5e00785

Please sign in to comment.