Heap Algorithmic Issue
- by OberynMarDELL
I am having this algorithmic problem that I want to discuss about. Its not
about find a solution but about optimization in terms of runtime. So here it is:
Suppose we have a race court of Length L and a total of N cars that participate
on the race. The race rules are simple. Once a car overtakes an other car the second
car is…