Here is a question Link:link text
I found two Accepted solutions :one this
And Second my Own:me
I checked A test case on both the codes:
Both were getting different answers on same case…
Here is an ideone link of first user with test caseFirst User
And my Link :me
Is this possible??One of them should be Wrong I guess!!