@ Dheeraj : yes it can be done using circular linked list..but i have some doubt related to output... i dont think so it would be 4 for both input.
On Tue, Feb 14, 2012 at 6:42 PM, Dheeraj Sharma <[email protected] > wrote: > 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 <[email protected]>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 < >> [email protected]> wrote: >> >>> not abe to get solution >>> >>> >>> On Mon, Feb 13, 2012 at 10:49 AM, atul anand <[email protected]>wrote: >>> >>>> what problem are you facing ...??? >>>> >>>> On Thu, Feb 9, 2012 at 12:01 PM, UTKARSH SRIVASTAV < >>>> [email protected]> 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 [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]. >>>>> 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 [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> 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 [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> 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 [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
