In a certain code, 15789 is written as XTZAL and 2346 is written as NPSU. How is 23549 written in that code ?

Answer: C. NPTSL

The numbers are coded as shown:
 

1 5 7 8 9 2 3 4 6
X T Z A L N P S U

i.e., 2 as N,
3 as P,
5 as T,
4 as S   and
9 as L.
So, 23549 is coded as NPTSL.