Given a graph, find the shortest path using the "Floyd Warshall algorithm".
Given 4 items: a, b, c, d. The val[] = {10, 40, 30, 50}, wt[] = {5, 4, 6, 3}, and the capacity is 10. Construct the Memoization table. Also, show the items that are included in the knapsack using the 0/1 knapsack problem that uses the Dynamic Programming approach.