TikTok Interview Question

Solve a medium level algorithm problem with questions by the interviewer about how it could be done differently along the way. Main problem I had was I could not understand the interviewer due their heavy accent. This resulted in me asking for them to repeat their questions alot, burned through time and made things tense. Ultimately I solved the problem, but the interviewer was frustrated that I did not do it the way they prompted. I couldn't understand them unfortunately. I guess it seemed like I wasn't good at cooperating. Maybe I should have stopped the interviewer, but this was a key team member for the role.