Monday, January 3, 2011

Reverse check

Given two lists, check if one is reverse of other. Do it without using extra space and without changing the lists.

2 comments:

  1. "Do it without using extra space", so it is not acceptable a recursive solution.

    ReplyDelete