How do i time three algorithms using timeit?

后端 未结 0 364
一向
一向 2021-01-29 06:36

im trying to time these 3 algorithms using the same array so i can compare their speeds.

test= [5,4,7,9,2,3,6]

def insertionSort(array):
    arrayI= []
    array         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题