In which episode did Madara die?
Madara Uchiha met his demise in “Naruto Shippuden” episode 474. In the said chapter, Hashirama Senju proposed a treaty to Madara Uchiha which allegedly caused his death, after losing the tailed beast and evil statue.
What episode does Sasuke die Madara?
“Sasuke’s Answer” (サスケの答え, Sasuke no Kotae) is episode 370 of the Naruto: Shippūden anime.