FWIW, I wouldn't call them any of them "jumper cables".
(Jumper
cables are used to "jump start" an
engine )
And you are talking about two different type of cabling here.
1. Interconnects between
battery terminals
2. External connections from the outside pos/neg terminals.
All of the 1's should be as near as possible to the same length.
The length of the 2's is immaterial.