Got through the first question with a little help but did have a minor bug.
The second question I knew how to solve after thinking through for a bit but didnt finish coding a solution.
From going through the interview process a few times I thought it was a sure fail but was surprised to get an onsite. What could have happened to make them give me a pass? Did the interviewer feel bad and nudge me over the line?