Show the worked solutionA linear data structure arranges its elements in a sequence, each element having a unique predecessor and successor (except the ends).(A) A string is a sequence of characters — linear.(B) A list (array or linked) is a sequence — linear.(C) A queue is a sequence with insertion at the rear and removal at the front — linear.All three are linear, unlike trees and graphs.Answer: D
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com