Beta
Is Room Reserved?
Description:
You need help booking department.
You have the interval
of time ( class with 2 fields: StartDate and EndDate of type DateTime) and list of intervals
when room is occupied.
You must check if the room is not occupied in the time frame.(boundaries are inclusive)
Interval Example:
Interval inter = new Interval
{
StartDate = DateTime.Parse("4/6/2019 1:02:32 PM"),
EndDate = DateTime.Parse("4/7/2019 1:03:32 PM")
};
Algorithms
Logic
Mathematics
Similar Kata:
Stats:
Created | Apr 6, 2019 |
Published | Apr 6, 2019 |
Warriors Trained | 200 |
Total Skips | 55 |
Total Code Submissions | 394 |
Total Times Completed | 44 |
C# Completions | 44 |
Total Stars | 4 |
% of votes with a positive feedback rating | 75% of 20 |
Total "Very Satisfied" Votes | 11 |
Total "Somewhat Satisfied" Votes | 8 |
Total "Not Satisfied" Votes | 1 |
Total Rank Assessments | 20 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 8 kyu |