TikTok Frontend Interview Experience

Coding: LC: and scattered
Frontend: Given a data list (you need to write a function called API), similar to [{id: …, content: …, name: …}, {…}, {…},…]. Then render a post list using this data, with each post displaying its content. The follow-up is to add a checkbox in front of each post, clicking on it will hide the current post. At the top, there is a “show all” button that, when clicked, displays all posts.

SD: Design a watch history, TikTok browsing history, with support for search functionality.