algorithms

Algorithms for building competitive programming questions solving ability material covered up from GEEKFORGEEKS mainly focussing on Mathematical algorithms Like:- --> sieve for Generating Prime Number --> Sieve for minimum prime factor Zeller Congrence

0:Saturday 1:Sunday 2:Monday 3:Tuesday 4:Wednesday 5:Thursday 6:Friday if month is 1 or 2 it is treated as month of previous year 1 as 13th month of year-1 2 as 14th month of year-1 h=q+13*(m + 1)//5+k+k//4+j//4+5*j is responsible for O(1) time complexity 2000%100=20 (It is not like ordinary calculation it will be 20 instead of 21st century).