you want to store the stations of a public transportation line. new stations can be added both ends of the line ,but not between existing stations .you should be able to traverse the line in both direction.data structure in c++.
Answers
Answered by
2
Explanation:
We first enqueue first petrol pump to the queue, we keep enqueueing petrol pumps till we ... C++ program to find circular tour for a truck ... Run a loop while all petrol pumps are not visited.
Similar questions