In what ways was Omprakash Valmiki’s experience is similar to that of the Ansaris?

Both Omprakash Valmiki and the Ansaris were being discriminated on the grounds of their caste and religion.

In both the cases, their individual dignity was violated. Omprakash Valmiki was made to sweep the school grounds and looked down upon by his principal and school teachers. On the other hand, the people were not ready to lease their apartment to the Ansaris.

Both Valmiki and the Ansaris were treated unequally in the society, even though constitutionally everyone is equal.