Not in GATE 2027 syllabusReport issue
Other / Mixed Topics

Your answer
Answer & solution
Answer: C: ab (no official key was published)
Starting with s=acbc, the first tail is cbc and the second is bc. The head of that second tail is b. Separately head(s)=a. Concatenating a and b gives ab. This follows the nesting from the inside outward; taking only one tail would produce c instead. Among ac,bc,ab,cc, this is option C.