ServiceNow interview question

Weighted graph walking piece in JS or Java.