There are 8 persons standing in a vertical line facing south which has 10 positions. Two positions were vacant. The vacant positions were neither at adjacent positions nor at the either end of the line.
R stands second from the end of the line. P stands two positions away from R. None stands between P and S. N stands third to the north of M; either one of them stands at end of the line. None stands at the adjacent positions of P. L stands at the position third to the south of S. H is not an immediate neighbour of R. D is one among the eight persons.
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.