Ταξινόμηση

Gap-fill exercise

  
Fill in all the gaps, then press "Check" to check your answers. Use the "Hint" button to get a free letter if an answer is giving you trouble. You can also click on the "[?]" button to get a clue. Note that you will lose points if you ask for hints or clues!
Αλγόριθμος Φυσαλίδα
// Α, Ν //

Για i από μέχρι
Για j από μέχρι με_βήμα
Αν A[] < A[] τότε
temp ← A[]
A[] ← A[]
A[] ← temp
Τέλος_αν
Τέλος_επανάληψης
Τέλος_επανάληψης

// A //
Τέλος Φυσαλίδα