I try to find out some sources to Learn Nim and grundy theorem . But I did not find any explanation , why the logic works .
- like xor(n1,n2,n3....nk)=0
- How to find grundy number with some explanation . why does this approach work ?
Please refer some problems .