Squats are one of the most effective and most functional exercises that exist. They not only target your hamstring, but just about every other major muscle group of your legs as well, including the quadriceps, glutes, and hip musculature. However, if you are seeking additional hamstring training, incorporating other compound exercises like deadlifts and lunges will be your fastest road to improvement. If you choose to perform isolation exercises for your hamstrings (such as hamstring curls), perform them at the end of your workout.