yup you are right.prakash try some cases and you will get why its necessary.
(Yup i agree can be written in an if else way but i like it this way better)

On Sun, Jul 31, 2011 at 2:08 PM, priyanka raju <[email protected]> wrote:

>
> tats bcos...
> if it is a^21...
> it will be (a^21/2)*(a^21/2)*(a^21mod2)
> = (a^10)*(a^10)*(a^1)
> correct me if i'm wrong
> --
> cheers
> priyanka
>
> --
> 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.
>



-- 
Saurabh Singh
B.Tech (Computer Science)
MNNIT ALLAHABAD

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