Got asked a Dynamic Programming question in Meta Technical Screening
The first question was to create a BST iterator
I solved the first one but had to get some hints from my interviewer, and she herself clarified the requirement clearly after sometime, (when I should have asked clarifying questions at the start) also pointed out some some bugs which I was able to fix and impliment.
Not only was this not in the Meta tagged list but also this is a Dynamic Programming question, when Meta clearly said they will not ask DP in the interview prep guide/Careers page. Can I ask my recruiter about this or just eat it up?
Anyways I proposed a few solutions, the first one with a freq hashmap, then my interviewer said that does not work, then I proposed another solution using left and right indices and coded it using a sliding window kind of approch, but she said it will not work in some test cases ( I should have asked clarifying questions about this but I missed the edge cases).
My code also has few bugs, which she pointed out. Not a major factor but her accent also made it a bit hard for me to understand what she was saying some times.
What are my chances of getting to onsite round, I feel like it is very low. Please let me know what you all think.


