The ruling National Democratic Alliance (NDA) secured a majority while Tejashwi Yadav-led RJD emerged as the single largest party.