LinkedIn interview question

LC easy-medium for OA and technical