Tagged Questions
6
votes
1answer
76 views
Position with Except returns first item {0} and last item {}. Why?
Here is a simple list:
l={1, 0, 2, 1, 0, 1, 0, 1, 2, 0, 2, 0, 1, 0, 1, 0, 0}
To get the position of non-zero elements I use ...
13
votes
3answers
337 views
Determining all possible traversals of a tree
I have a list:
B={423, {{53, {39, 65, 423}}, {66, {67, 81, 423}}, {424, {25, 40, 423}}}};
This list can be visualized as a tree using ...