Amtrak Interview Question

What's the difference between a diode and transistor?