[algogeeks] Single linked list questions.

2011-01-06 Thread dinesh bansal
Hi Guys, There are some questions asked to me: 1. How do you print the SLL in reverse order. List should not be changed. 2. Two SLLs are merging at one point, how can you find out efficiently. Thanks -- Dinesh Bansal The Law of Win says, Let's not do it your way or my way; let's do it the best

Re: [algogeeks] Single linked list questions.

2011-01-06 Thread Prashant Kulkarni
hi, for 1 question, use stack to display elements in reverse order. can you elaborate your 2nd question ? -- Prashant Kulkarni On Thu, Jan 6, 2011 at 4:56 PM, dinesh bansal bansal...@gmail.com wrote: Hi Guys, There are some questions asked to me: 1. How do you print the SLL in reverse