I am not able to pass one of the test case could be a corner case though please help invested a lot of time
Test case 2 not passing
@O17LPOLC0003, you made some small mistakes
- you should simply print ele1 and ele2 instead min(el1,ele2) and max(el1,ele2)
- instead of None you had to print “No Majority Elements”
- at line 45 you have if(freq1>x & freq2>x){ & should be &&
corrected code :-
In case of any doubt feel free to ask 
mark your doubt as RESOLVED if you got the answer
Sir please rectify the sample test case as it created the entire confusion by showing that 1 2 is the output while the output is 2 1 as a result i was using max min in my previous submission which showed 83 points
yeah you are right ! i will have it corrected
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.