DislikedAccording to your graph, 5 different high, I do the following: (I used integers for hight so): state = {4,5,1,3,2} -) 4,5,1 -) 4,5,3 -) 4,5,2 -) 5,1,3 -) 5,3,2 "-------" X1> X2> X3 -) 1,3,2 In the creation of n + 1, only a subsequence is found in state. Is a decreasing sequence. Now as I build the tree?Ignored
-) 5,3,2 "-------" X1> X2> X3
isn't it 4,5,1? In this case X1>X2>X3 is false... (according to your state = {4,5,1,3,2})
the 3rd wave is the crowd's wave