How to Solve the Trolley Problem
David Silver

I would say that a human driver would do whatever possible to protect the passengers in the car first, and only after that decide what would be the least harmful for others. With that given, a self driving car must protect it’s passengers first, and if that involves harming others, choose the track with least fatalities.

I believe that human driving will be prohibited eventually, if self driving cars become a majority on the roads. And when that happens, technology must in all ways possible be much better than a human driver. The goal must be zero fatalities involving self driving cars.