Question: Please complete following problems in java , Natali is a dance choreographer and is designing a dance for n girls. The girls started by holding
Please complete following problems in java,
Natali is a dance choreographer and is designing a dance for n girls. The girls started by holding each others hands in a line. But Natali decided to divide the girls into two lines according to their heights. The girls dont want to let go of each others hands, but will do only if one of them is taller than 150 cm. Natali goes through the girls and removes the girls taller than 150 cm and lines them up into a new line.
note:
1) you have to use linked List
2) the data from the user (he have to enter the number of girls in the line and their heights
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
