The university at Nalanda was a famous center of learning for:

Buddhist philosophy
Hindu Vedas
Ayurvedic medicine
Military strategy

The correct answer is: Buddhist philosophy.

Nalanda was a Mahavihara, a Buddhist monastery in the ancient Indian kingdom of Magadha (modern-day Bihar). The site is located about 95 kilometers (59 mi) southeast of Patna near the city of Rajgir. Nalanda flourished from the 5th to the 12th century, and was one of the most important centers of learning in the world.

The university was a center of Buddhist philosophy, and attracted students from all over Asia. The curriculum included subjects such as logic, grammar, Sanskrit, medicine, astronomy, and mathematics. Nalanda was also a center of Buddhist art and architecture.

The university was destroyed by the Muslim invaders in 1197. However, its legacy continues to this day. Nalanda is a UNESCO World Heritage Site, and its ruins are a popular tourist destination.

The other options are incorrect because:

  • The Hindu Vedas are a collection of sacred texts that are the foundation of Hinduism. They were not taught at Nalanda.
  • Ayurvedic medicine is a traditional system of medicine that originated in India. It was not taught at Nalanda.
  • Military strategy was not a subject that was taught at Nalanda.