Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE CS 1997 | Question 52

  • Last Updated : 24 Oct, 2017

[5-Marks question]

Let L = {a1,  a2, ………., an} n ≥ 0 be a list whose Pascal representation is

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

type list = record
next:↑ list; val: integer   end

The following function returns a list in which a2i and a2i-1, 1 ≤ i ≤ [n/2] are interchanged. Complete the function by filling the boxes. Write the line number and the content of the box in your answer sheet.
aa



 

 

 

 

 

 

 

 


Answer:

Explanation:

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :