yes, occording to conditions he has to :) On Fri, Jul 22, 2011 at 12:24 PM, Pankaj <jatka.oppimi...@gmail.com> wrote:
> N people are standing in a circle ,they start shooting the person > standing *next to their neighbour.*If they start firing in this way , > determine who will be alive after this sequence?? > > Just for confirming, if only 2 person are left, then out of guilt of > killing other's does the person who has gun shoot himself? > > On Fri, Jul 22, 2011 at 10:04 AM, surender sanke <surend...@gmail.com>wrote: > >> josephus problem with mentioned k, k determines after how many persons to >> execute, u guys are considering k=1 as josephus problem. >> its with k=2 and still remains josephus problem. >> >> >> On Fri, Jul 22, 2011 at 12:40 AM, chetan kapoor < >> chetankapoor...@gmail.com> wrote: >> >>> yeah u r wrong...the question says the person will kill the person >>> standing next to its neighbor.. >>> >>> >>> On Thu, Jul 21, 2011 at 4:16 PM, SAMMM <somnath.nit...@gmail.com> wrote: >>> >>>> Consider this Example:- >>>> >>>> >>>> >>>> 1 2 3 4 5 6 7 1 In CIrcle .... >>>> >>>> 1 kills 2 >>>> 3 kills 4 >>>> 5 kills 6 >>>> 7 kills 1 >>>> >>>> Remaining ppl :- 3 5 7 >>>> >>>> 3 kills 5 >>>> 7 kills 3 >>>> >>>> Remain-> 7 >>>> >>>> >>>> This is the sequence .. i guess .... Isit???? >>>> >>>> -- >>>> 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. >>>> >>>> >>> -- >>> 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. >>> >> >> -- >> 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. >> > > -- > 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. > -- Sunny Aggrawal B-Tech IV year,CSI Indian Institute Of Technology,Roorkee -- 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.