first round: path sum 3
Given the root of a binary tree and an integer targetSum, return the number of paths where the sum of the values along the path equals targetSum.
The path does not need to start or end at the root or a leaf, but it must go downwards (i.e., traveling only from parent nodes to child nodes).
Given the root of a binary tree and an integer targetSum, return the number of paths where the sum of the values along the path equals targetSum.
The path does not need to start or end at the root or a leaf, but it must go downwards (i.e., traveling only from parent nodes to child nodes).
The following metrics were computed from 45 interview experiences for the ServiceNow Software Engineer role in India.
ServiceNow's interview process for their Software Engineer roles in India is very selective, failing most engineers who go through it.
Candidates reported having good feelings for ServiceNow's Software Engineer interview process in India.