“Stronger” hearts typically have a resting pump rate lower than that of weaker or less healthy ones. A healthy, athletic male might have a resting BPM of 60, while an otherwise healthy but post-partem female could be closer to 90.
Would both of these hearts expend the same energy pumping 120 BPM? Would the healthier heart be theoretically expending more as it is acting in double-time, or would the weaker one be working harder as it is already inefficient at pumping blood?
Energy use increases with bpm, change in pressure (systolic - diastolic) and the stroke volume (amount of blood pumped per beat).
Note that there is also an inverse relationship between stroke volume and bpm because the faster the heart beats, the less time for blood to return to the heart for the next beat.
That said, heart “strength” is more about reserve capacity (ie ability to ramp up when necessary) than energy efficiency. It’s like comparing a Ferrari to a Corolla: at 100 mph the former can still increase its power whereas the latter is getting near its limit.
So if the Ferrari has a “car attack” and suddenly loses 50% of its max speed then it can still keep up on the highway, the Corolla maybe not. That’s more important than which one is more energy efficient.