My issue was more with the answers given here, not the question asked. When I wrote this comment, the top comment and all of the others recommended studying interview questions, not algorithms and math FOR answering interview questions. That's what bothers me.