In: Computer Science
Leftmost part of decision tree is given below-
Rightmost part of decision tree is given below-
For better understanding I have also given below the full image of decision which I have drawn using a tool.
Leftmost part indicates the sorted elements in Ascending order whereas, Rightmost part indicates the sorted elements in Descending order.
If you are satisfied by my answer please give a thumbs up. THANK YOU.