20 - Day of the Programmer | Implementation | Hackerrank Solution | Python

preview_player
Показать описание
⭐️ Content Description ⭐️
In this video, I have explained on how to solve day of the programmer by checking the pattern in the problem and checking conditions using python. This hackerrank problem is a part of Problem Solving | Practice | Algorithms | Implementation | Day of the Programmer and solved in python. The complexity of this solution is O (1).

Make a small donation to support the channel 🙏🙏🙏:-

#dayoftheprogrammer #howtosolve #hackerrank #hackerranksolutions #hackersrealm #python #implementation #problemsolving #tutorial #algorithms #datastructures #programming #coding #codinginterview #education #aswin
Рекомендации по теме
Комментарии
Автор

Bruh thnx for helping me get the one thing I was missing to run my code. I just didn't understand the julian calender part in the question and you made it so easy. Love from India, to an Indian. 😊

rajarshikar
Автор

for me test case59 was failing, I tried (year <= 1917) to pass the test case

lightY
Автор

Sir can you explain me one thing I'm getting confused about. The year 1918 is not a leap year. So in that case will not the 256th date be 13th September cause in that year 29th February will not come so it should be 13th September right? Pls explain.

mainakbiswas
Автор

For me that code is not working bro, I am getting error at line no 13 elif condition statement

venkatdarapuneni
Автор

Bro when you submit the code one test case gets failed

nagrajkaranth
Автор

Bro sorry on doubting on you actually on 11 th line if year==1918 you wrote I putted '1918' so one test case failed

nagrajkaranth
Автор

Sir please explain the logic behind 26 September when the year is 1918

nandinikanojiya
Автор

I got wrong Answer for Test Case 59, Input is 1918, year is integer bro not str '1918'

civovic
Автор

in question where it mention the 26.0date9.1918

naturemusic