Quora, Inc. interview question

Technical coding challenge on third party website