The main aspect of ensuring you are the top recruit is preparation. Every recruit spends the same amount of time at bootcamp as the rest. Unless you are injured or dropped, both of which can be prevented by proper preparation, you will spend 13 weeks on the Recruit Depot. All the effort you put in prior to going to bootcamp is what is going to set you above your peers, make you faster, smarter, louder, tougher, and more motivated.
This will earn you leadership billets, meritorious promotions, and set you up for success for the rest of your Marine Corps career, whether it be 4 years or 40.