Today I had my first ever screening round for Google and I got extremely nervous. I was asked a simple question on BST. I was able to solve but the interviewer kept giving me hints and pointing out that there was room for optimizations. He gave a few hints and helped me optimize the code but I have heard that hints can cause a no-hire or lean-no-hire. I was able to code it down and was able to figure out most of the code of my own. Do I have any chances to proceed to onsite rounds?
The question was similar to : https://leetcode.com/problems/closest-nodes-queries-in-a-binary-search-tree/description/