NPN or PNP transistor for common-cathode seven segment display LEDs?
There are 2 possible combinations :







simulate this circuit &ndash; Schematic created using CircuitLab

The PNP circuit must be driven with inverted signal and it is a bit less efficient than the other.