filmov
tv
LeetCode Çözümleri - 1185. Day of the Week [Zeller's congruence]
![preview_player](https://i.ytimg.com/vi/r7DtWCYo1hg/maxresdefault.jpg)
Показать описание
LeetCode içerisinde bulunan "Day of the Week" sorusunun açıklaması ve çözümü. Bu soruda sizi verilen gün, ay ve yıl bilgilerine ait tarihin haftanın hangi güne denk geldiğini bulmanız isteniyor.
#leetcode #stack #datetime
00:00 | Intro
00:15 | Sorunun açıklaması
02:31 | Çözümün kodlanması
04:16 | Zeller Formülü
08:08 | Outro
► Problem açıklaması:
Given a date, return the corresponding day of the week for that date.
The input is given as three integers representing the day, month and year respectively.
Return the answer as one of the following values {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}.
Example 1:
Input: day = 31, month = 8, year = 2019
Output: "Saturday"
Example 2:
Input: day = 18, month = 7, year = 1999
Output: "Sunday"
Example 3:
Input: day = 15, month = 8, year = 1993
Output: "Sunday"
Constraints:
The given dates are valid dates between the years 1971 and 2100.
***
Sosyal Medya
Destek
#leetcode #stack #datetime
00:00 | Intro
00:15 | Sorunun açıklaması
02:31 | Çözümün kodlanması
04:16 | Zeller Formülü
08:08 | Outro
► Problem açıklaması:
Given a date, return the corresponding day of the week for that date.
The input is given as three integers representing the day, month and year respectively.
Return the answer as one of the following values {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}.
Example 1:
Input: day = 31, month = 8, year = 2019
Output: "Saturday"
Example 2:
Input: day = 18, month = 7, year = 1999
Output: "Sunday"
Example 3:
Input: day = 15, month = 8, year = 1993
Output: "Sunday"
Constraints:
The given dates are valid dates between the years 1971 and 2100.
***
Sosyal Medya
Destek
LeetCode Çözümleri - 1185. Day of the Week [Zeller's congruence]
leetcode 1185 Day of the Week
1185. Day of the Week | Python + Leetcode Technical Interview Practice
LeetCode 1185 | Day of the Week | Math | Java
Vol63 - Leetcode - Problem 1185 - Day of the week - Golang - Phỏng vấn - Thuật toán
1185. Day of The Week
1154. Day of the Year (Leetcode Easy)
Distance Between Bus Stops | Leetcode 1184 | Amazon Google Facebook interview question
LeetCode 1154 : Day of the Year || EASY || JAVA || Detailed Solution
Flipping an Image | Leetcode | Optimised approach
FIGURE OUT THE DAY OF THE WEEK YOU WERE BORN WITH THIS SIMPLE TRICK!
Leetcode 1189.Maximum Number of Balloons.
Leetcode 2544 | Alternating Digit Sum | leetcode challenge | Math
LeetCode 1769. [Medium] Minimum Number of Operations to Move All Balls to Each Box
LeetCode May Challenge - Ransom Note - [Microsoft Mülakat Sorusu] 3. GÜN
Minimum Sum of Four Digit Number After Splitting Digits - LeetCode 2160 - Java Solution
Daily Coding Practice (Questions: 2020 07 15, Session: 2020 07 16)
Code Review: It's Friday! - Zeller's Congruence Revisited (2 Solutions!!)
GÜN 0 - 10 Günde JavaScript #HackerRank
How to calculate the day of the week (Practical skills for lifetime), Zeller's congruence
Days of the week (Mathematics in the Modern World, GE Curriculum Higher Education)
Calendar concept (Zellers rule)
Solving a Congruence Equation, Additive and Multiplicative Inverse & LOGIC [ZOOM RECORDINGS🔴]
Zeller's rule:exceptional case
Комментарии