Google interview question

Computing average power in last 5 minutes