Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Added interpolation search and updated README.md #248
Conversation
|
Change file name to |
| @@ -0,0 +1,47 @@ | |||
| package main | |||
nomisrevol
Oct 27, 2020
Collaborator
It should belong to package searches.
It should belong to package searches.
Kingarturs
Oct 27, 2020
Author
I noticed that every file on the searches folder is in the main package, should i leave mine there too or make it a separate package?
I noticed that every file on the searches folder is in the main package, should i leave mine there too or make it a separate package?
Kingarturs
Oct 27, 2020
Author
It could imply to make a separate folder of the same name inside searches (as far as i know).
I can:
- Change package of the go files inside the folder to searches
- Leave my function in the main package the avoid import problems
It could imply to make a separate folder of the same name inside searches (as far as i know).
I can:
- Change package of the go files inside the folder to searches
- Leave my function in the main package the avoid import problems
nomisrevol
Oct 30, 2020
Collaborator
It's better to change it to package searches and the other search implementation should be changed to package searches too.
It's better to change it to package searches and the other search implementation should be changed to package searches too.
| return -1 | ||
| } | ||
|
|
||
| func main() { |
nomisrevol
Oct 27, 2020
Collaborator
Remove main function, create test file instead.
Remove main function, create test file instead.
Hi there! I added interpolation search algorithm and it's description in the README.md
Hope it helps🚀