1
GATE CSE 1999
MCQ (Single Correct Answer)
+1
-0.3
Suppose we want to arrange the n numbers stored in any array such that all
negative values occur before all positive ones. Minimum number of exchanges
required in the worst case is
2
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3
Give the correct matching for the following pairs:
Group - 1
(A) $${\rm O}(\log n)$$(B) $${\rm O}(n)$$
(C) $${\rm O}(n\log n)$$
(D) $${\rm O}({n^2})$$
Group - 2
(P) Selection(Q) Insertion sort
(R) Binary search
(S) Merge sort
3
GATE CSE 1997
MCQ (Single Correct Answer)
+1
-0.3
The correct matching for the following pairs is
| A. All pairs shortest path | 1. Greedy |
| B. Quick Sort | 2. Depth-First Search |
| C. Minimum weight spanning tree | 3. Dynamic Programming |
| D. Connected Components | 4. Divide and Conquer |
GATE CSE Subjects
Browse all chapters by subject
Theory of Computation
Operating Systems
Algorithms
Database Management System
Data Structures
Computer Networks
Software Engineering
Compiler Design
Web Technologies
General Aptitude
Discrete Mathematics
Programming Languages