>
Exams
>
Computer Science
>
Data Structures
>
a loop within a loop nested loop have time complex
Question:
A loop within a loop (nested loop) have time complexity ______.
CUET (UG) - 2023
CUET (UG)
Updated On:
Sep 23, 2024
n
n
2
n+1
n
3
Hide Solution
Verified By Collegedunia
The Correct Option is
B
Solution and Explanation
The correct option is (B) :n
2
.
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Data Structures
A class teacher wants to manage her class Result in her computer using Pandas. Help her to choose the data structure which is best suited for her to manage class result.
CUET (UG) - 2023
Computer Science
Data Structures
View Solution
Which of the following is/are correct about double ended queue ?
A. Insertion and deletion operation perform only at rear side
B. Insertion and deletion operation perform only at front end
C. Insertion and deletion operation performs at both front and rear end
D. Vehicles in a high-way toll tax booth are served following the principles of deque
E. To implementation of deque used list data type in python
Choose the correct answer from the options given below :
CUET (UG) - 2023
Computer Science
Data Structures
View Solution
The test which was designed to provide a statisfactory operational definition of intelligence is called
CUET (PG) - 2023
Programming and Data Structure
Data Structures
View Solution
Match List I with List II
List I
List II
A
Page replacement Policy
I
Circular wait
B
Deadlock
II
Page fault
C
Scheduling
III
Shortest job first
D
Dijakstra is banking algorithm
IV
Deadlock avoidance
CUET (PG) - 2023
Programming and Data Structure
Data Structures
View Solution
If f(x) = xis my friend, and P(x) = x is perfect, then the correct logical translation of the statement, "Some of my friends are not perfect" is
CUET (PG) - 2023
Programming and Data Structure
Data Structures
View Solution
View More Questions
Questions Asked in CUET exam
A molecule X associates in a given solvent as per the following equation:
X ⇌ (X)
n
For a given concentration of X, the van’t Hoff factor was found to be 0.80 and the
fraction of associated molecules was 0.3. The correct value of ‘n’ is:
CUET (UG) - 2024
Solutions
View Solution
Who devised the concept of Intelligence Quotient (IQ)?
CUET (UG) - 2024
Psychological attributes
View Solution
Two pipes A and B can fill a tank in 32 minutes and 48 minutes respectively. If both the pipes are opened simultaneously, after how much time B should be turned off so that the tank is full in 20 minutes?
CUET (UG) - 2024
Time and Work
View Solution
If
\(A = \begin{bmatrix} 3 & 2 \\ -1 & 1 \end{bmatrix} \quad \text{and} \quad B = \begin{bmatrix} -1 & 0 \\ 2 & 5 \\ 3 & 4 \end{bmatrix},\)
then \((BA)^T\) is equal to:
CUET (UG) - 2024
Matrices
View Solution
The spin-only magnetic moment of Hexacyanomanganate(II) ion is.........BM
CUET (UG) - 2024
Magnetic moment
View Solution
View More Questions