20.11.2014 Views

Lekcija 16 - FESB

Lekcija 16 - FESB

Lekcija 16 - FESB

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Sortiranje<br />

Ulaz: niz A[n] od n elemenata.<br />

Izlaz: Elementi raspoređeni prema vrijednostima<br />

A[0] min od A[4..5] zamijeni sa A[4]<br />

1 2 3 4 5 6 -> niz je sortiran<br />

13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!