@Utkarsh: yeah it is josephsus problem with a slight change.....using a linked list will give u TLE i guess.
On Feb 14, 10:36 pm, vickywiz <vickywiz...@gmail.com> wrote: > in 1 2 3 4 5 6...o/p "ll b 5 -- 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.