
Hello friends, I got struck in this interesting question on basicity. I am able to get different answers applying different methods. In general, for these compounds we have to see the lone pair denoting tendency by the nitrogen. I was able to conclude that IV is most basic. And II is greater than I. Now the problem is between I and III. Whether to consider the -I effect of $\ce{N}$ or $\ce{Ph}$ more effective? And, is -I the correct way to compare among both of these? I even draw the resonating structures but was unable to conclude anything from there. Please help as to how to proceed.