Sample test cases are working and the (n-1)C(r-1) formula is also working correctly but still wrong answer