The greatest chance i.e. 100% chance would be at position number 366. (By Pigeonhole principle).
On Jul 7, 2:34 pm, swetha rahul <swetharahu...@gmail.com> wrote: > At a movie theater, the manager announces that they will give a free ticket > to the first person in line whose birthday is the same as someone who has > already bought a ticket. You have the option of getting in line at any time. > Assuming that you don't know anyone else's birthday, that birthdays are > distributed randomly throughout the year, etc., what position in line gives > you the greatest chance of being the first duplicate birthday? > > can sumone help to find ans? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.