Recent Oracle interview Question

255
Jun 12, 2025

Like we need to find all the pairs of nodes (u, V) in the graph which is a tree . Given all edge weights of edges array and each node values array . The conditions are where u is ancestor of V and edge weight(u, V) <= value[v]

Comments (4)