Professional Documents
Culture Documents
ALGORITHM – WEEK 1
Language :
We do not have any preference over a language but we suggest you to choose
C++ as it is used by most of the competitive programmers and it has a very vast
Standard Template Library ( STL ) That reduce the work many folds.
For most of languages you can easily found the courses on YouTube ranging
from 4 - 10 hours.
For c++ You can watch
https://youtu.be/vLnPwxZdW4Y
And you never learn something really if you haven’t practiced it.
So Practice easy type question from
https://www.hackerrank.com/domains/cpp
There are questions for every language on hacker rank. Do as per your choice.
1) modulo arithmetic :
https://en.wikipedia.org/wiki/Modulo_operation
- Binary Exponentiation
- Euclidean algorithm for computing the greatest common divisor
- Extended Euclidean Algorithm
- Linear Diophantine Equations
- Fibonacci Numbers
- Sieve of Eratosthenes
- Euler's totient function
- Number of divisors / sum of divisors
- Modular Inverse
- Linear Congruence Equation
- Chinese Remainder Theorem
- Factorial modulo
C++ STL :
You can refer for beginner level STL :
https://www.codechef.com/LEARNDSA
And see the corresponding videos :
https://www.youtube.com/playlist?list=PLQXZIFwMtjowNK0L1hVSCdzWgOoYr42--
1) Read
https://www.topcoder.com/thrive/articles/Basics%20of%20Combinatoric
s
3) https://www.youtube.com/watch?v=le2enQgQ7Ws
4) Expected values :
https://codeforces.com/blog/entry/62690
https://codeforces.com/blog/entry/62792
<=======================================================================>
https://unacademy.com/@ng280/courses?goal=all&type=special&courses=all
https://medium.com/spidernitt