Moxie Software

  www.moxiesoft.com
  www.moxiesoft.com
Work in HR? Unlock Free Profile

Interview Question

Software Development Engineer In Test Interview Bellevue, WA

Reverse a linked list?

Answer

Interview Answer

1 Answer

0

j=len-1;
for(int i=0;i<len/2;i++,j--)
   swap(A[i],A[j])

Interview Candidate on Mar 28, 2012

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up