表达式3: "S" Subscript, "w" "a" "p" , Baseline left parenthesis, "L" Subscript, "i" "s" "t" , Baseline , "i" Subscript, "n" "d" "e" "x" 1 , Baseline , "i" Subscript, "n" "d" "e" "x" 2 , Baseline , right parenthesis equals left bracket, left brace, "n" equals "i" Subscript, "n" "d" "e" "x" 1 , Baseline : "L" Subscript, "i" "s" "t" , Baseline left bracket, "i" Subscript, "n" "d" "e" "x" 2 , Baseline , right bracket , "n" equals "i" Subscript, "n" "d" "e" "x" 2 , Baseline : "L" Subscript, "i" "s" "t" , Baseline left bracket, "i" Subscript, "n" "d" "e" "x" 1 , Baseline , right bracket , "L" Subscript, "i" "s" "t" , Baseline left bracket, "n" , right bracket , right brace for "n" equals left bracket, 1...length left parenthesis, "L" Subscript, "i" "s" "t" , Baseline , right parenthesis , right bracket , right bracketSwapList,index1,index2=n=index1:Listindex2,n=index2:Listindex1,Listnforn=1...lengthList
3
表达式4: "X" to "S" Subscript, "w" "a" "p" , Baseline left parenthesis, "X" , 1 , 5 , right parenthesisX→SwapX,1,5