Mar 29, 2010

Rotating triads of a linked list

Given a linked list a>b>c>d>e>f. We need to rotate each triad. e.g. c>b>a>f>e>d. However data is so large that its movement is a costly operation in terms of memory as well as time. Write a C code to preform the task.

1 comment:

  1. I came first time on your blog...Very nice.You are from dhanbaad ,I have been also there for 15 years at jorraphatak.so now Iam happy to see blog from there..have a nice day

    ReplyDelete