Courtesy: https://twitter.com/talkwithsaumya/status/1496505191868542989?s=21&t=Jn9TEjevwG30l1PN7FV58A
According to Xuanzang, Chinese scholar
Nalanda had a very tough entrance examination. Only about 20 percent of the students who applied got through. Foreign students had the hardest time in passing the admission test unless they were ‘deeply versed in old and modern learning’.


Xuanzang, who studied there for 5 years, took up Yoga Shastra under the highest authority of the time Silabhadra
He also studied Nyaya, Hetuvidya, Shabdavidya & the Sanskrit grammar of Panini. Vedas,Vedanta, Puranas, Dharmashastras, Jyotisha & Chikitsashatra were all taught there

Nalanda also had a department of Tibetan studies in which many Indian scholars learned Tibetan and translated Sanskrit works into Tibetan.
Yijing Monk mentioned 56 students from China,Japan &Korea who studied in Nalanda in the interim period of 40 years between Xuanzang’s visit
He also noted the presence of more than 1,000 scholars in 1 city in Indonesia where they studied all the subjects that were taught in India.

It is interesting that many scholars from China first visited Indonesia where they spent some years learning Sanskrit and other subjects in order to gain enough competency to seek admission in famous Indian universities.