@Naveen Kumar 3 you need two stacks in here to do 2 comparison first you need to check for equivalence of a and b and second you need to do comaprsion for n≠m, which a normal PDA with single stack cant do,so whenever its more than one comparison than that language is not going to be a context free language.