Why all testcases are failing even when i am getting correct sample output ?
Sort Game algorithm
Hey @vaishnavtannu
In line no 37, while printing the result, you’ve to write a[i].salary >= x and not a[i].salary > x
(as according to the question - such that the list contains only names of those employees having salary greater than or equal to a given number x.)
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.