GATE CSE Detailed Notes Enhanced
GATE CSE Detailed Notes Enhanced
This document provides detailed topic-wise explanations, examples, and GATE previous year
### Subtopics
- **QuickSort**: Divide and conquer approach. Selects a pivot and partitions the array.
- Example: Array = [10, 80, 30, 90, 40, 50, 70]; Pivot = 70. First partition: [10, 30, 40, 50] | 70 | [80, 90].
- **Dijkstra's Algorithm**: Finds shortest path from a source node to all other nodes in a weighted graph.
- Example: Given a graph with vertices and weights, find the shortest path.
- Example: Items: [(60, 10), (100, 20), (120, 30)], Capacity: 50. Max value = 220.
2. Solve the 0/1 Knapsack problem for the given input (GATE 2019).
2. Computer Networks, Computer Organization & Data Structures
### Subtopics
- Example: Cache block size = 64 bytes, 1024 blocks. Compute cache size.
### Subtopics
#### **Databases**
1. Write an SQL query to find the second highest salary (GATE 2020).
### Subtopics
### Subtopics
### Subtopics