python问题追问?

def quicksortHelper(lyst,left,right):

     if left<right:

          pivoLocation = partion(lyst,left,right)

          quicksortHelper(lyst,left,pivoLocation-1)

          quicksortHelper(lyst,pivoLocation+1,right)

问一下quicksortHelper(lyst,left,pivoLocation-1)和quicksortHelper(lyst,left,pivoLocation-1)同时调用,还是等quicksortHelper(lyst,left,pivoLocation-1)执行完成后,再执行quicksortHelper(lyst,pivoLocation+1,right)。谢谢!


qq_相濡_7
浏览 932回答 1
1回答

BigBlackQu

语句都是一条一条执行的
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python