InterviewBit Problems   Time Based Key-Value Store : Solved