Design a datastructure that stores the birthdates of all employees of an institution and when a date is given to a function it should give the next closest birthdate.Similar to how facebook does.
can anyone suggest which data structure would be efficient,
PS: Not Array and Lower bound :)