Review and help my code for a hackathon


Hi Sir,

This was the problem statement from a hackathon challenge(ended now).I am trying to solve this problem over here: <a href=“https://github.com/AtufaShireen/order-management-system”}>over here


can you help me with the above statement.
For selecting the team i used a queue to choose a team from front and then add it to the back.


For calculating the estimated delivery time, i am selecting the latest pending entry, calculating its return time and add it to the current delivery time along with the distance time.

This works for the given test cases (table in pic), however there could be other cases as well like multiple deliveries at particular time.
Logic is in views.py .


I doubt my logic and code but tried my best to write a solution, can you please help me out with the code for the above statement.


Thanks, Atufa

@atufashireen, good you have written a good quality code but for logic, I need to check it properly. I will let you know about your logic.
Happy Coding :slight_smile:
Thanks