Add the code for Shaker sort in any language ( C, Java, Go, Python, JavaScript, Swift or any other)
The code should be placed at code/sorting/shaker_sort
Sample code in C++: see
Note: multiple contributors can work on this issue as it has multiple parts (languages)
Your pull request will be reviewed by maintainers instantly.
For contribution guidelines, see this
If you need any help, let us know.
I'll implement in C#.
I will do a python implementation.
Ah, Python is taken, I'll do Java then! Do you guys want any functional language implementations, e.g. OCaml?
I will do a Objective-C implementation
I will do a C implementation
Sure @protostellarsun functional languages will be great 馃槃
@AdiChat I already finish the shaker implementation in Objective-C
Doing javascript implementation
I'm doing it in rust
I can do Swift!
I can do Golang.
Sure @Clorophila Go for it 馃憤
Can I add shaker sort in C++?
@warned101 Go for it!
I think that algorithm has already been implemented in C++.
shaker_sort.cpp
Please check and if there's something to be fixed in this, let me know!
@warned101 There are still things that can be fixed in that file (namely using namespace std;). Please consider fixing those problems.
Okay, I will take care of that!