Katie Ledecky won gold medal in the 1,500-meter freestyle, becoming the first female swimmer to win gold in four separate games.