OJEE SERIES Computer-science-information-technology
Data Structures
6 previous year questions.
Volume: 6 Ques
Yield: Medium
High-Yield Trend
6
2025 Chapter Questions 6 MCQs
01
PYQ 2025
medium
computer-science-information-technology ID: ojee-202
What is the value of the postfix expression:
1
10
2
12
3
15
4
18
02
PYQ 2025
medium
computer-science-information-technology ID: ojee-202
Consider the following C function foo(int n). How many times does foo(2) get called on making the call foo(5)?
C Function:
C Function:
float foo(int n){ if(n <= 2) return 1; else return (2*foo(n-1) + 3*foo(n-2));
}
1
4
2
3
3
2
4
1
03
PYQ 2025
medium
computer-science-information-technology ID: ojee-202
Suppose you are given pointers to the first and the last nodes of a singly linked list, which one of the following operations would require traversal of the linked list?
1
Delete the first node
2
Insert a new node as the first node of the list
3
Delete the last node of the list
4
Insert a new node at the end of the list
04
PYQ 2025
medium
computer-science-information-technology ID: ojee-202
What is the time complexity of the Bellman-Ford single-source shortest path algorithm on a completely connected weighted graph of vertices?
1
2
3
4
05
PYQ 2025
medium
computer-science-information-technology ID: ojee-202
How many null links does an arbitrary binary tree with nodes have?
1
2
3
4
06
PYQ 2025
medium
computer-science-information-technology ID: ojee-202
Which one of the following recurrence relations best represents the time complexity of the binary search algorithm running on an ordered array of elements?
1
2
3
4