Question: when testing my cocktail shaker sorting algorithm I want 1 5 different tests to test whether it is working properly Come up with a minimum

when testing my cocktail shaker sorting algorithm I want 15 different tests to test whether it is working properly
Come up with a minimum of 15 tests for your algorithm. Explain what each test is for and show that your code works for it.(For example, you might want to sort a list with 1 element as a special case. Then a list with 3 elements for a small test, etc.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!