pohlepni algoritmi

pohlepni algoritmi

offline
  • Nikola Radukic
  • Pridružio: 02 Avg 2007
  • Poruke: 37
  • Gde živiš: The City of Nis

Ako neko dobro poznaje algoritme, molim za malu pomoc : u poznatom primeru vracanja kusura, koju strukturu podataka koristi algoritam i zasto ?



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Đuro Glumac
  • dipl. ing. informatike
  • Pridružio: 08 Feb 2004
  • Poruke: 3640
  • Gde živiš: ApAtIn

Mislim da je u pitanju struktura binarno stablo.



offline
  • Nikola Radukic
  • Pridružio: 02 Avg 2007
  • Poruke: 37
  • Gde živiš: The City of Nis

To sam i ja pretpostavljao. Hvala.

Dopuna: 20 Dec 2007 19:55

Cekaj, cekaj, nisi mi odgovorio zasto.

offline
  • Đuro Glumac
  • dipl. ing. informatike
  • Pridružio: 08 Feb 2004
  • Poruke: 3640
  • Gde živiš: ApAtIn

Citat:Associated with the binary tree is a cursor. This reference points to a current node within the tree, or it is null. When the tree is first created it is empty, with a null cursor (there is nothing to refer to). When a node is added, it is added at the location indicated by the cursor. The cursor may be moved about with the "move" methods. When the cursor "falls off" the tree at a current leaf, a new value may be added at that location.

Ko je trenutno na forumu
 

Ukupno su 1093 korisnika na forumu :: 32 registrovanih, 5 sakrivenih i 1056 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., BORUTUS, darkangel, doktor1964, FileFinder, Georgius, ILGromovnik, jackreacher011011, Još malo pa deda, kolle.the.kid, ladro, Lošmi, Mi lao shu, milutin134, miodrag, Mixelotti, mocnijogurt, nebkv, Parker, Pikac-47, procesor, raptorsi, skvara, Srle993, taz1cl, tmanda323, Toper, Tvrtko I, vathra, Vlada1389, yrraf, zlaya011