Fundamentals
/
Day of week that is K days later
⏸
00:00
↻
← Prev
Next →
▶
Question
Given current day as day of the week and an integer K, the task is to find the day of the week after K days.
Example 1
Input
day = “Monday”
K = 3
Output:
Thursday
Example 2:
Input:
day = “Tuesday”
K = 101
Output:
Friday
▶
My Code
▶
Reference Solution