Skip to content

Conversation

arvinder004
Copy link
Contributor

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

Copy link
Member

@czgdp1807 czgdp1807 left a comment

Choose a reason for hiding this comment

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

How are we testing it?

@arvinder004
Copy link
Contributor Author

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

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.

Implement C++ Backend for Cocktail Sort
2 participants