Message on Whatsapp 8879355057 for DSA(OA + Interview) + Fullstack Dev Training + 1-1 Personalized Mentoring to get 10+LPA Job
0 like 0 dislike

Bonus : Best Image2Pdf feature is here :

All past online assesments of Microsoft  can be found using the tag "microsoft_oa" in the search bar.

Here is the link :


in Online Assessments by Expert (4,460 points)
edited by | 1,067 views

1 Answer

0 like 0 dislike

Microsoft Online Assessment (OA) - Day of week that is K days later

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:


day = “Monday”

K = 3

Output: Thursday

Example 2:


day = “Tuesday”

K = 101

Output: Friday

by Expert (4,460 points)