Skip to content

added c++ backend for cocktail sort#680

Open
arvinder004 wants to merge 5 commits into
codezonediitj:mainfrom
arvinder004:cocktail_sort_backend
Open

added c++ backend for cocktail sort#680
arvinder004 wants to merge 5 commits into
codezonediitj:mainfrom
arvinder004:cocktail_sort_backend

Conversation

@arvinder004

Copy link
Copy Markdown
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

@czgdp1807 czgdp1807 left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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