The philosophies of non-violent resistance /protest of mahatma Gandhi and Henry David Thoreau

Compare and contrast the philosophies of non-violent resistance /protest of mahatma Gandhi and Henry David Thoreau. How are their versions of non-resistance protest similar? In what ways are different?Is one version better?Do you think either philosophy