Question: CISC 4 1 1 Object & Structure & Algorithm II Assignment 1 ( 1 0 0 pts ) : You will receive 2 0 points

CISC411 Object & Structure & Algorithm II Assignment 1(100 pts): You will receive 20 points for submitting on time. Written assignments (40 pts) Please type or handwrite your answers, and submit them on blackboard. Sorting: Given an unsorted sequence: 11,9,7,13,8,12,10. Sort the sequence step by step, by using each algorithm shown in sorting.py, including: 1. Heap sort 2. Radix sort 3. Bucket sort 4. Counting sort 5. Shell Sort You need to show the sequence after each step to illustrate how each algorithm sorts the sequence. Write your answers on paper and submit an electronic version of it.(20 pts) Self-balancing Search Trees: Construct an AVL tree and a 2-4 tree. 1. First Insert the keys in the listed order: 11,14,12,5,25,4,8,15,9,13,6,2.2. Then remove the keys: 12,11,5,25,8,4 in the listed order. 3. Draw the tree after each operation. (20 pts) Programming assignments (40 pts) Create a module and name it Lastname_Firstname_hw1.py. Add the classes below to this file. We implemented bucket sort, counting sort, and radix sort in class. However, they only work with unsorted sequences of non-negative numbers. Please modify the existing sorting algorithms to make them work for all numbers. We implemented the class AVLTree and TwoFourTree in class. Please complete the incomplete methods listed in each class. Submit your python file on blackboard.

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 Programming Questions!