Characteristic of cavitation bubbles and shock waves generated by pulsed electric discharges with different voltages