@roopam : i got the question all wrong. . .

On Sat, Jul 30, 2011 at 10:01 PM, Roopam Poddar <[email protected]>wrote:

> The objective is to divide the number by 3 and not just check for it's
> divisibility.
> Adding the digits using itoa() and then repeated subtraction will check for
> it's divisibility by 3 and not give us the quotient.
> To get that you will have to carry out repeated subtraction on the number
> anyway.
> So whats the point?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/algogeeks/-/BWTzYtcBhIgJ.
>
> 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.
>



-- 
Ankur Khurana
Computer Science
Netaji Subhas Institute Of Technology
Delhi.

-- 
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.

Reply via email to