Total ways to arrange data is in 5 nodes is 5!.
Divide it by 5 as we have 5 nodes in descendant in of root including itself. Similarity 3 in root left child as we have 3 descendant for it including itself.
Source : https://youtu.be/1U3loHkX5XE?t=2260
Ans is 8
Gatecse