pydatastructs
pydatastructs copied to clipboard
added c++ backend for cocktail sort
Fixes #679
Brief description of what is fixed or changed
- Added the cocktail sort implementation in the C++ Backend file
quadratic_time_sort.hpp - Exposed C++ functions to Python
- Updated Python Functions
sir i have added a test function, it was not accepting the _test_common_sort() so I have added a seperate test function for cocktail shaker sort that will test both python and C++ Backends