Find max node-value range across components | Snapchat Interview Question