海投秒发的OA
选择题是些简单的OPP debug 比SDE 简单
新人求加米 就差一点点了 LOL
You are a TT content creator with predictions about which trends will be popular over the next n days. These trends are represented by an array prediction, where the trend that will be popular on the i-th day is given by prediction[i]. Before the trends gain popularity, you need to select a set of trends to focus on. For each trend x that you choose, you will earn x likes each time that trend appears in the predictier some (possibly zero) decay rounds of video i, it reaches exactly the same view count as the video at index j (either immediately or after some decay steps) additionally , if two videos start with the same view count , they should ne considered a valid pair even without any decay rounds
|