0
Linked List with Trains and Waggons.
redirect the passenger's so that all Waggons are full. Delete the empty waggons. Does anyone know how to redirect passenger's?
6 ответов
0
Means??
Mind showing the whole code?
1)Check if wagon is full or not. If it is not, add passengers.
2)If it is, add to other wagon. And then loop
0
Roneel we don't have a code for this one... If you don't mind & if you have time can you help me with StringList & IntegerList... please🙏
0
Roneel loop through whole list?
0
Sin no no
If non-full wagon is found, add passenger in it and break.
0
Roneel how can I add my code here? Or do you have twitter/Instagram/email?
0
Sin if you use android app
Open code playground tab
Tap +
Select language
and use Sololearn message feature