Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
fix(pt): typo in insertion sort pseudocode
Browse files Browse the repository at this point in the history
  • Loading branch information
storopoli committed Oct 10, 2024
1 parent af421d3 commit 250bf9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slides/slides-pt.typ
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,7 @@ proposicional pode ser tornada verdadeira* por meio de uma atribuição adequada
+ *para* $i$ de $1$ até $n - 1$:
+ $"key" := A[i]$
+ $j := i - 1$
+ *enquanto* $j \geq 0$ *e* $A[j] > "key"$:
+ *enquanto* $j >= 0$ *e* $A[j] > "key"$:
+ $A[j + 1] := A[j]$
+ $j := j - 1$
+ $A[j + 1] := "key"$
Expand Down

0 comments on commit 250bf9f

Please sign in to comment.