This is an old revision of the document!


Sortiranje

Uvod

Sortiranje je proces u kome se elementi niza ili liste uređuju tako da čine rastući ili opadajući niz podataka. Rastući niz je takav da je svaki element veći od svog prethodnika, a manji od svog sledbenika. Nasuprot tome, svaki element opadajućeg niza je manji od svog prethodnika, a veći od svog sledbenika.

Neki od sortova
  1. Selection sort 1)
  2. Insertion sort 2)
  3. Bubble sort

nazad

 
smor2.1358984704.txt.gz · Last modified: 2013/01/24 00:45 by aleksandar.mladenovic
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki