GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2020

GATE 2020 · CS · MCQ · 1 mark · Programming and Data Structures › Linked Lists

GATE 2020 Computer Science and Information Technology question: What is the worst case time complexity of inserting n elements into an empty linked…

What is the worst case time complexity of inserting elements into an empty linked list, if the linked list needs to be maintained in sorted order?

  1. (A)

  2. (B)

  3. (C)

  4. (D)

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion