working on date problem in interviews