ServiceNow Interview Question

Two Sum IV - Input is a BST from Leetcode,Zigzag Levelorder traversal