All diapers will eventually leak if not changed enough.
But for long lasting diapers that will hold up for awhile when out or during the night then pampers diapers are the best most absorbent diaper that helps prevent leaks.
Luvs is also another brand of diaper that holds up for heavy wetters and are guaranteed not to leak as long as you change your baby in a good amount of time.
If possible you should be changing your baby or toddlers diaper every 1 or 2 hours. Older toddlers can usually go a little longer since they tend to wet a diaper on a schedule.
Older toddlers tend to hold in their urine and let it all out at once. So some toddlers can go 3 or even 4 hours before even wetting their diaper and needing changed.
But you should always check before then to make sure the toddler isn't sitting in a wet diaper for too long.
If it's wet enough you should change it and if poop you should change immediately after noticing.