Ripjar interview question

Technical questions on the stack they are using