Hey,
I just returned from doing a very similar interview. Unfortunately at the end I ran out of time and my output didn't produce anything due to a bug in the final few steps. During my meetings the interviewees were saying I was on a good track and my solution would work so I wanted to know if you felt they valued your final answer more or the ability of your code. I think I did well in the leadership aspect as well, was helping teammates and working together.