LeetCode question. However, I don't think the interviewers knew the state of software engineering interviews, asked brain teaser questions, which were a waste of time. After getting to know the company more, I don't think they actually know what they are doing on the software side of things.