Gandhi influenced MLK in many ways. He used nonviolence and the same view on sacrifice for change and peace. He wanted to change jails from dungeons of shame to places to change and get better and so did Gandhi.
Nelson Mandela was a man who stood up for discrimination in south Africa over the majority of citizens and went to nonviolence after he realized violence didn't work
Gandhi was a man who gave up clothes, money, and food to be will the people and stand up for freedom