MLK thought integration (presumably with well-meaning whites) was the answer.
X said some provocative things which ticked off people but he wanted to get the attention of blacks and he wanted blacks to wake up and stop expecting the white man (grandchildren of slave masters) to save them.
Other than the religion aspect of Malcolm X, I am more on board with him than MLK.
For blacks to truly integrate, they needed to gain their self-respect first. Nobody was going to give it to them.