as you can see in this case no of moves of X are 4 and that of O are 3 as X starts first, after both players has played 3 moves each, O would have already won the game so next move of X is invalid
i got your solution AC after adding this condition :) On Fri, Jun 17, 2011 at 2:48 PM, KK <[email protected]> wrote: > @sunny: why the answer for the case u mentioned is no.. those are > possible set of moves according to me and hence my program outputs > "yes" > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- Sunny Aggrawal B-Tech IV year,CSI Indian Institute Of Technology,Roorkee -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
