A, B, C, D, M, N, O, P and Q are sitting in a straight line, facing north. Three of them are not females. Two males sit adjacent to each other.
B is fourth to the left of O, who is second to the right of C. C is not an immediate neighbour of P or A. N is fourth to the right of C and is second to the left of Q. D is not an immediate neighbour of either Q or B. D is not female. One of the persons sitting on the extreme ends is a male. M is not an immediate neighbour of either O or N. No male is an immediate neighbour of N. P does not sit second to the left of A. The immediate neighbours of D are female.
Solution :

Hello Friends, I am from India. After earning my Graduate degree in Computer Application, I decided to pursue my passion for Web Designing and Content Writing. My ultimate goal is to become one of the best in my field and continue to deliver high-quality content. Further, I aim to deliver the latest information regarding recruitment to job seekers, the latest news with accuracy, which shall benefit them in every way possible.