can anyone tell me for what is the last "acc"? after the acc[val]=1
Thanks to your solution, I learned "comma operator" =)
It is just the recursive form of the other iterative solutions...
how can you think of it ? Amazing!