InterviewDB Question

Number of Changed Nodes - Count Graph Nodes That Changed State Between Snapshots

Question Details

Round 1 - Coding Problem You are given two snapshots of a directed graph (as adjacency lists). Each node has a value. Between snapshots, some nodes changed their value or their outgoing edges changed. Return the count of nodes that are different in a…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone