Problem 2198. Find my birthday

Given a birth date x, find my age when my birth day will fall on the same day as I was born. So if I was born on Monday, what age will I be when my birthday once again falls on a Monday.

There can be multiple outputs of this. You need to return first occurrence.

Solution Stats

76.67% Correct | 23.33% Incorrect
Last Solution submitted on Oct 21, 2018

Problem Comments

Solution Comments