Anand Kumar must be new here...
No ratings yet!
Black and White Hats
Another Solution can be : The prisoner makes decision on basis of next two prisoner hat. If next two wear w,w or w,b he says white and if it is b,b or b,w he says it as b. Now after that 99th prisioner know which color hat is he wearing and henceforth.
so here also only 100th prisioner is in danger of 50-50. while rest are correct;context