* Fusion of 2 trees - please help @ 2007-07-20 21:13 Humble 2007-07-20 21:33 ` [Caml-list] " Thomas Fischbacher 2007-07-21 0:10 ` Jon Harrop 0 siblings, 2 replies; 4+ messages in thread From: Humble @ 2007-07-20 21:13 UTC (permalink / raw) To: caml-list Hello! I need to develop a function that will fuse 2 ordered binary trees. The result of the fusion must be a directly ordered binary tree. Does anyone have an optimized function for this? Much appreciated! Thank you! -- View this message in context: http://www.nabble.com/Fusion-of-2-trees---please-help-tf4119622.html#a11716164 Sent from the Caml Discuss2 mailing list archive at Nabble.com. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] Fusion of 2 trees - please help 2007-07-20 21:13 Fusion of 2 trees - please help Humble @ 2007-07-20 21:33 ` Thomas Fischbacher 2007-07-21 14:26 ` Humble 2007-07-21 0:10 ` Jon Harrop 1 sibling, 1 reply; 4+ messages in thread From: Thomas Fischbacher @ 2007-07-20 21:33 UTC (permalink / raw) To: Humble; +Cc: caml-list Humble wrote: > I need to develop a function that will fuse 2 ordered binary trees. The > result of the fusion must be a directly ordered binary tree. > Does anyone have an optimized function for this? Much appreciated! > > Thank you! Is this a homework exercise? -- best regards, Thomas Fischbacher tf@functionality.de ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] Fusion of 2 trees - please help 2007-07-20 21:33 ` [Caml-list] " Thomas Fischbacher @ 2007-07-21 14:26 ` Humble 0 siblings, 0 replies; 4+ messages in thread From: Humble @ 2007-07-21 14:26 UTC (permalink / raw) To: caml-list Thank you for your reply! This has to be done manually, I cannot use anything besides simple caml light code... no library use possible. It's not a homework (Is anyone having school works at this time of the year? That wouldn't be good). It's for me to understand the language. I'm learning it for a while, but still need a lot more work. Any resource you can advise with many exercises specifically about trees in caml light? Thank you once again! Thomas Fischbacher-2 wrote: > > > Humble wrote: > >> I need to develop a function that will fuse 2 ordered binary trees. The >> result of the fusion must be a directly ordered binary tree. >> Does anyone have an optimized function for this? Much appreciated! >> >> Thank you! > > Is this a homework exercise? > > -- > best regards, > Thomas Fischbacher > tf@functionality.de > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > > -- View this message in context: http://www.nabble.com/Fusion-of-2-trees---please-help-tf4119622.html#a11722719 Sent from the Caml Discuss2 mailing list archive at Nabble.com. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] Fusion of 2 trees - please help 2007-07-20 21:13 Fusion of 2 trees - please help Humble 2007-07-20 21:33 ` [Caml-list] " Thomas Fischbacher @ 2007-07-21 0:10 ` Jon Harrop 1 sibling, 0 replies; 4+ messages in thread From: Jon Harrop @ 2007-07-21 0:10 UTC (permalink / raw) To: caml-list On Friday 20 July 2007 22:13:41 Humble wrote: > Hello! > > I need to develop a function that will fuse 2 ordered binary trees. The > result of the fusion must be a directly ordered binary tree. > Does anyone have an optimized function for this? Much appreciated! Does Set.union do "fusion"? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. OCaml for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists/?e ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-07-21 14:27 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-07-20 21:13 Fusion of 2 trees - please help Humble 2007-07-20 21:33 ` [Caml-list] " Thomas Fischbacher 2007-07-21 14:26 ` Humble 2007-07-21 0:10 ` Jon Harrop
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox