Trees generally have a trunk; branches off that trunk, and leaves or nodes along those branches that may turn into other branches. Let's say a tree exists it could have several main branches which could be further described by which direction they emanate from the trunk. So you have a north main branch pointing north, with a second north branch that also connects to the trunk directly, you have a secondary north branch. After that, number the nodes going down each of those branches and then put descriptive text as to what's at that location. Without a whole lot of main branches compass directions may not be needed and each main branch could be described in terms of information it is to hold. There might be a columns branch; a rows branch, and a diagonals branch in this particular case. So, trunk; mnb1 main north branch 1 might be useful with mnb1l2 pointing at main north branch left node 2 could be a way to document this for yourself and keep it straight in your head. Hth. -----Original Message----- From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Alex Hall Sent: Wednesday, October 20, 2010 10:33 To: programmingblind Subject: trees? Hi all, We are doing trees in an algorithms class I am taking. The assignment coming up is the "n queens" problem, where you have an n by n board and must place n queens on the board such that no two queens share the same row, column, or diagonal line. To "help" explain this, the professor is using a tree on the board. I am completely confused! She says I do not need to think of it in terms of trees, yet the only way she explains it is in tree terms, so I am not sure what she is talking about. Of course I know about trees, but when she tries to explain how the code we are looking at relates to the tree in terms of what the code is supposed to do, I haven't a clue as to what she is trying to say. Does anyone have any thoughts on how to represent trees, whether in braille or speech, or a good notation/substitute for a tree? TIA. -- Have a great day, Alex (msg sent from GMail website) mehgcap@xxxxxxxxx; http://www.facebook.com/mehgcap __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind