Recent Oracle interview Question
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-06-12Added By Anonymous
Source: Link
Company: Oracle
Role: unknown
Interview Stage: unknown
Location: unknown
Year: unknown
Original Post Content:
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]