Go Speedy Go interview question

uses of storage elements. difference between alternator and generator