Taking Input in questions from the topic TREES

How do we take inputs in questions life “Tree Left View”. How do we know the size/the no of nodes that will be provided as input by the user?
Question just mentions “A single line containing space separated integers representing the left view of the tree” but input format does not take into consideration the no of space separated integers.
Kindly Help.