Skip to content

Conversation

Erfaniaa
Copy link
Member

No description provided.

@poyea
Copy link
Member

poyea commented May 27, 2019

LGTM. But could you provide a reference to the theorem (the corollary)?

@sarthak77
Copy link
Member

Time complexity is for binary exponentiation vs normal exponentiation so can be removed from top and can be written as a note below

@Erfaniaa
Copy link
Member Author

Should I put this URL in the code?

https://en.wikipedia.org/wiki/Fermat%27s_little_theorem

@Erfaniaa
Copy link
Member Author

Please see the new changes that I've made.

@sarthak77
Copy link
Member

Looks good

@poyea
Copy link
Member

poyea commented May 28, 2019

Thank you for your pull request!🤩

@poyea poyea merged commit fc95e7a into master May 28, 2019
@Erfaniaa Erfaniaa deleted the fermat-little-theorem branch May 28, 2019 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet