Power Protection interview question

difference between router, hub, switch