Function versus Procedure in Pseudocode (for insertion sort)

前端 未结 0 554
眼角桃花
眼角桃花 2021-02-18 20:46

I found this pseudocode in Wikipedia\'s Insertion Sort page.

function insertionSortR(array A, int n)
    if n > 0
        insertionSortR(A, n-1)
        x ← A[         


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