slice interview question

Questions About Recylver view and some edge cases and optimization tricks