Pseudo Code Flashcards
Karatsuba’s Algorithm
Dijkstra’s Algorithm
DFS Recursive
DFS - Stack implementation
What is the pseudo code for the DFS algorithm which determines if G is a DAG (directed acyclic graph)
Write the pseudo code for a linearisation algorithm which runs in time O(m+n)
Write the algorithm which finds a
SCC (Strongly Connectied Component) in a graph G
Write the pseudo code for Prim’s algorithm
What is the pseudo code for Kruskal’s algorithm?
Pseudo code for fractional knapsack (greedy) algorithm:
Pseudo Code for Interval Selection (Activities) Problem:
Pseudo code for Bellman-Ford Algorithm
Describe the pseudo code for solving the all-pair shortest path problem
(Floyd-Warshall Algorithm)