Tech & Coding

Data Structures Interview Questions for Interns

Q1. What is a Data Structure?

A way to store and organize data efficiently.


Q2. What is an Array?

Stores multiple values of same type.

int arr[3] = {1,2,3};

Q3. What is a Linked List?

A collection of nodes where each node points to the next.

Advantage: Dynamic size


Q4. Stack vs Queue

  • Stack: LIFO
  • Queue: FIFO

Q5. What is Time Complexity?

Measures algorithm efficiency.

Example:
Linear search → O(n)

Leave a Reply

Your email address will not be published. Required fields are marked *