i thnk for 1 2 3 4 5 6 & 1 2 3 4 5 6 7 ..o/p is 4.. it can be done by circular doubly linked list
On Mon, Feb 13, 2012 at 10:45 PM, atul anand <atul.87fri...@gmail.com>wrote: > what will the output of following input: > 1) 1 2 3 4 5 6 > 2) 1 2 3 4 5 6 7 > > i am bit confused.....because in the given link for input 2 ...output is > 2....but it should be written in this foam 2 1... > because 1 stands right of 2.... so output should be 1... > > > On Mon, Feb 13, 2012 at 1:41 PM, UTKARSH SRIVASTAV < > usrivastav...@gmail.com> wrote: > >> not abe to get solution >> >> >> On Mon, Feb 13, 2012 at 10:49 AM, atul anand <atul.87fri...@gmail.com>wrote: >> >>> what problem are you facing ...??? >>> >>> On Thu, Feb 9, 2012 at 12:01 PM, UTKARSH SRIVASTAV < >>> usrivastav...@gmail.com> wrote: >>> >>>> I have been doing this question for a time but was not able to solve >>>> it. It is based josephus problem ? Has anybody any idea >>>> http://www.spoj.pl/problems/WTK/ >>>> -- >>>> *UTKARSH SRIVASTAV >>>> CSE-3 >>>> B-Tech 3rd Year >>>> @MNNIT ALLAHABAD* >>>> >>>> >>>> -- >>>> 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. >>> >> >> >> >> -- >> *UTKARSH SRIVASTAV >> CSE-3 >> B-Tech 3rd Year >> @MNNIT ALLAHABAD* >> >> >> -- >> 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. > -- *Dheeraj Sharma* -- 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.