InterviewDB Question

Factory Cost: Model a Manufacturing Factory with OOP and Compute Production Costs

Question Details

Problem Design an OOP model for a manufacturing factory. A Factory has multiple ProductionLines. Each ProductionLine has a list of Machines. Each Machine has an hourly operating cost and an output rate (units/hour). Implement: Factory.total_cost(hour…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Phone Oop Coding