天天看點

[LeetCode] Contains Duplicate II 包含重複值之二

Given an array of integers and an integer k, return true if and only if there are two distinct indices i and j in the array such that nums[i] = nums[j] and the difference between i and j is at most k. (Old Version)

Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the difference between i and j is at most k. (New Version)

坑爹啊,題目要求變了,那麼就沒啥歧義了,正确解法如下:

Contemporary Jordan! DeRozan's 8 consecutive games of 35+ is MVP level The Bulls will still exchange him for thick eyebrows?

On February 25, 2022, Beijing time, the Bulls played at home against the Eagles, and the two sides have maintained a stalemate in this game, and have not been able to fully open the score. The Bulls were behind in the final moments, and DeRozan stood up again, first hitting a steady mid-range shot, then ending the game with a difficult 2+1 jumper.

Contemporary Jordan! DeRozan's 8 consecutive games of 35+ is MVP level The Bulls will still exchange him for thick eyebrows?

In this game, DeRozan shot 15 of 21 from the field, 2 of 3 from three-point range, and 5 of 7 from the free throw line, with 37 points, 6 rebounds and 3 assists! In the fourth quarter of the game, DeRozan scored 12 points on 5-of-5 shooting in a single quarter, and the 37 points of the whole game was also his eighth consecutive game to score 35+ points, surpassing Jordan to rank second in team history, and the first place was Jordan's 10 times, DeRozan still had a chance to surpass Jordan to get the first place in team history!

Contemporary Jordan! DeRozan's 8 consecutive games of 35+ is MVP level The Bulls will still exchange him for thick eyebrows?
Contemporary Jordan! DeRozan's 8 consecutive games of 35+ is MVP level The Bulls will still exchange him for thick eyebrows?

This season DeRozan has created so much magic in the regular season, he hit a lot of key goals, whether it's a three-point or mid-range shot, as long as it's a key moment, give the ball to him! Previously, the MVP about DeRozan was not very loud, and now the league really should discuss whether DeRozan can get the MVP!

Contemporary Jordan! DeRozan's 8 consecutive games of 35+ is MVP level The Bulls will still exchange him for thick eyebrows?

Previously, it was reported that the Bulls would use DeRozan to trade Davis in the offseason, and the chip was DeRozan + Kobe White + draft pick to trade Anthony Davis, from the current point of view, this season's DeRozan star level is completely higher than Davis, he is the MVP level star, and even call him the contemporary Jordan, not too much!

Contemporary Jordan! DeRozan's 8 consecutive games of 35+ is MVP level The Bulls will still exchange him for thick eyebrows?

The Lakers didn't want to give DeRozan a 3-year contract in the offseason, missing out on the best star, in fact, DeRozan was ready to go to the Lakers, but there was still no way to do it. Now that the Bulls have such a play, it is the Lakers who regret it, and perhaps the team's management has repented of the intestines, which is indeed very uncomfortable!