Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Algoritmi e strutture dati > Alberi binari di ricerca
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Lallac10
.primate.

User info:
Registered: Mar 2006
Posts: 73 (0.01 al dì)
Location: Rho(mi)
Corso: Informatica
Anno: 3
Time Online: 18:55:37 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Alberi binari di ricerca

Ciao a tutti ho un problema con gli alberi binari di ricerca. Nei temi d'esame chiede partendo da una sequenza di numeri di creare un albero binario di ricerca ma ne sul libro ne sulle dispense dice come fare.
Ho trovato su wikipedia un indizio dice di prendere sempre la metà del sotto-array ma se il mio array ha un numero pari di elementi quale prendo?
Grazie dell'aiuto!

02-02-2009 15:13
Click Here to See the Profile for Lallac10 Click here to Send Lallac10 a Private Message Find more posts by Lallac10 Add Lallac10 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Lallac10
.primate.

User info:
Registered: Mar 2006
Posts: 73 (0.01 al dì)
Location: Rho(mi)
Corso: Informatica
Anno: 3
Time Online: 18:55:37 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Up!!!

02-02-2009 15:33
Click Here to See the Profile for Lallac10 Click here to Send Lallac10 a Private Message Find more posts by Lallac10 Add Lallac10 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
darkshadow
Are You From The Past?

User info:
Registered: Jul 2007
Posts: 485 (0.07 al dì)
Location: Milano
Corso: Informatica Magistrale
Anno: 1
Time Online: 13 Days, 13:38:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

 
in realtà il probelma si pone quando hai un numero dispari di elementi.

cmq ti basta prende quello successivo o quello precedente ossia la parte inferiore oppure la parte superiore della media.

ciao.

DS.

__________________
by Ð@rk§h@ÐØw

02-02-2009 16:03
Click Here to See the Profile for darkshadow Click here to Send darkshadow a Private Message Find more posts by darkshadow Add darkshadow to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Lallac10
.primate.

User info:
Registered: Mar 2006
Posts: 73 (0.01 al dì)
Location: Rho(mi)
Corso: Informatica
Anno: 3
Time Online: 18:55:37 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

in maniera indifferente??

02-02-2009 16:06
Click Here to See the Profile for Lallac10 Click here to Send Lallac10 a Private Message Find more posts by Lallac10 Add Lallac10 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 16:08.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.079 seconds (61.23% PHP - 38.77% MySQL) con 24 query.