Skip to content

added c++ backend for cocktail sort #680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

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