The same way you would do in a console java program, the java syntax for writing the BFS won't change for certain. ;-)
Only time when you need to access some local resources would the applet have restrictive behaviour. But for trees which I assume would be entirely in memory I don't think there would be any restrictions even if you are writing it in an applet.
Last edited by verruckt24; Dec 30th, 2008 at 3:11 am.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.