All test case are falling for my code. Please check my cod
All test case are falling for my code. Please check my code
why did u take xor of all frequencies?
it is same as game of nim,
in that problem we are allowed to remove some number of coins,
here we are allowed to remove some number exponents.
here we are applying game of nim on exponents of prime factor
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.