Indian National Olympiad in Informatics (INOI)
The Indian National Olympiad in Informatics (INOI) is a competitive programming contest held annually in India for school students. It is organized by the Indian Association for Research in Computing Science (IARCS). The contest is open to students of classes 8 to 12 who are citizens of India. The top performers in the INOI are selected to represent India at the International Olympiad in Informatics (IOI).
Questions
What is the maximum number of edges in a tree with n vertices?
- n
- n-1
- n+1
- 2n
What is the time complexity of the bubble sort algorithm?
- O(n log n)
- O(n^2)
- O(n)
- O(log n)
What is the data structure that is used to implement a stack?
- Queue
- Array
- Linked list
- Tree
What is the minimum number of colors needed to color a map so that no two adjacent regions have the same color?
- 3
- 4
- 5
- 6
What is the name of the algorithm that is used to find the shortest path between two vertices in a weighted graph?
- Dijkstra's algorithm
- Bellman-Ford algorithm
- Floyd-Warshall algorithm
- Kruskal's algorithm
What is the name of the data structure that is used to implement a priority queue?
- Heap
- Queue
- Array
- Linked list
What is the name of the algorithm that is used to find the maximum flow in a network?
- Ford-Fulkerson algorithm
- Edmonds-Karp algorithm
- Dinic's algorithm
- Push-relabel algorithm
What is the name of the algorithm that is used to find the minimum spanning tree of a weighted graph?
- Kruskal's algorithm
- Prim's algorithm
- Dijkstra's algorithm
- Bellman-Ford algorithm
What is the name of the algorithm that is used to find the shortest path between two vertices in an unweighted graph?
- Breadth-first search
- Depth-first search
- Dijkstra's algorithm
- Bellman-Ford algorithm
What is the name of the algorithm that is used to find the strongly connected components of a directed graph?
- Kosaraju's algorithm
- Tarjan's algorithm
- Floyd-Warshall algorithm
- Kruskal's algorithm
What is the name of the algorithm that is used to find the maximum independent set of a graph?
- Greedy algorithm
- Dynamic programming
- Branch and bound
- Backtracking
What is the name of the algorithm that is used to find the minimum vertex cover of a graph?
- Greedy algorithm
- Dynamic programming
- Branch and bound
- Backtracking
What is the name of the algorithm that is used to find the Hamiltonian cycle in a graph?
- Greedy algorithm
- Dynamic programming
- Branch and bound
- Backtracking
What is the name of the algorithm that is used to find the shortest path between two vertices in a directed graph with negative weights?
- Dijkstra's algorithm
- Bellman-Ford algorithm
- Floyd-Warshall algorithm
- Kruskal's algorithm
What is the name of the algorithm that is used to find the maximum bipartite matching in a graph?
- Greedy algorithm
- Dynamic programming
- Branch and bound
- Backtracking