LLD - Design — Food Delivery System
Given this snippet:assigned_agent = None
for agent in agents:
if agent.status = 'free':
assigned_agent = agent
return assigned_agent
What is the main error in this code?
Given this snippet:assigned_agent = None
for agent in agents:
if agent.status = 'free':
assigned_agent = agent
return assigned_agent
What is the main error in this code?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions