from algorithm_visualizer import alvito
from utils import random_array
avo = alvito()
avo.custom_save_name = True
shape = (6,6)
array = random_array(shape)
avo.save_name = 'bubble_sort_6_6'
avo.bubbleSort(array)
100%|██████████| 35/35 [02:33<00:00, 1.03s/it]
array = random_array(shape)
avo.save_name = 'selection_sort_6_6'
avo.selectionSort(array,)
100%|██████████| 35/35 [02:35<00:00, 1.10it/s]
array = random_array(shape)
avo.save_name = 'insertion_sort_6_6'
avo.insertionSort(array)
100%|██████████| 35/35 [01:18<00:00, 3.72s/it]