Question Bank

246 approved questions from the community

What is the primary role of the Common Language Runtime (CLR)?

EASY
MULTIPLE CHOICE
30s
.net
by Mohamed

What is .NET?

EASY
MULTIPLE CHOICE
30s
.net
by Mohamed

Which data structure is most suitable for frequent insertions/deletions in the middle, but has slow (O(n)) access time?

EASY
MULTIPLE CHOICE
30s
DSA
by Mohamed

How does the two-pointer technique find the middle of a linked list in a single pass?

MEDIUM
MULTIPLE CHOICE
40s
DSA
by Mohamed

What are the three pointers typically used in an iterative in-place linked list reversal?

MEDIUM
MULTIPLE CHOICE
30s
DSA
by Mohamed

What is the time complexity of deleting the last node of a Singly Linked List (without a tail pointer)?

MEDIUM
MULTIPLE CHOICE
30s
DSA
by Mohamed

In Floyd's 'Tortoise and Hare' algorithm for cycle detection, if a cycle exists, what is guaranteed to happen?

HARD
MULTIPLE CHOICE
45s
DSA
by Mohamed

A Doubly Linked List requires less memory per node than a Singly Linked List because it allows bi-directional traversal.

EASY
TRUE FALSE
20s
DSA
by Mohamed

In the Quickselect algorithm, what is the expected (average) time complexity for finding the kth largest element?

MEDIUM
MULTIPLE CHOICE
40s
DSA
by Mohamed

Why is inserting an element at the beginning of a standard fixed-size array an O(n) operation?

MEDIUM
MULTIPLE CHOICE
30s
DSA
by Mohamed

Which of the following is NOT typically stored in the underlying implementation of an array slice?

MEDIUM
MULTIPLE CHOICE
30s
DSA
by Mohamed

Using basic character counting compression, what would the string 'aabbccc' become?

EASY
MULTIPLE CHOICE
30s
DSA
by Mohamed

What are the two common mathematical steps to rotate a 2D matrix by 90 degrees clockwise in-place?

MEDIUM
MULTIPLE CHOICE
40s
DSA
by Mohamed

Binary search can be performed on both sorted and unsorted arrays with O(log n) complexity.

EASY
TRUE FALSE
20s
DSA
by Mohamed

If you use the sorting approach to find duplicates in an array, what is the best possible average time complexity assuming an efficient sorting algorithm is used?

MEDIUM
MULTIPLE CHOICE
45s
DSA
by Mohamed

What is the time complexity of accessing an element by its index in a standard array?

EASY
MULTIPLE CHOICE
30s
DSA
by Mohamed

Which of the following describes an 'in-place' algorithm for reversing an array?

EASY
MULTIPLE CHOICE
30s
DSA
by Mohamed

What does Ahead-of-Time (AOT) compilation provide to an Angular application compared to Just-in-Time (JIT)?

HARD
MULTIPLE CHOICE
45s
Angular
by Mohamed

The async pipe automatically unsubscribes from Observables when a component is destroyed, preventing memory leaks.

MEDIUM
TRUE FALSE
25s
Angular
by Mohamed

What is the key difference between a 'pure' and an 'impure' pipe?

MEDIUM
MULTIPLE CHOICE
30s
Angular
by Mohamed
PreviousPage 7 of 13Next