Let's give it the most realistic scenario of a blind-turn intersection with an obstruction such as a bush make it impossible to see the sidewalk on the right-hand side. The two pedestrians in question are a grandparent and their grandchild crossing without looking both ways for their safety.
Is there oncoming traffic? Is there an empty sidewalk to drive on? Can the car make an attempt to brake as safely and quickly as possible and sound the horn to alert the pedestrians to get out of the way? Is it safe enough to perform a handbrake turn? Is it safe enough to perform a bootleg turn?
Before asking which pedestrian the car chooses to hit, I would exhaust all other available options to prevent such a scenario from happening in the first place.