File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 837
837
| 2748 | [Number of Beautiful Pairs](https://leetcode.com/problems/number-of-beautiful-pairs) | [](src/NumberOfBeautifulPairs.java) | |
838
838
| 2760 | [Longest Even Odd Subarray With Threshold](https://leetcode.com/problems/longest-even-odd-subarray-with-threshold) | [](src/LongestEvenOddSubarrayWithThreshold.java) | |
839
839
| 2765 | [Longest Alternating Subarray](https://leetcode.com/problems/longest-alternating-subarray) | [](src/LongestAlternatingSubarray.java) | |
840
- | 2769 | [Find the Maximum Achievable Number](https://leetcode.com/problems/find-the-maximum-achievable-number) | | |
840
+ | 2769 | [Find the Maximum Achievable Number](https://leetcode.com/problems/find-the-maximum-achievable-number) | [](src/FindTheMaximumAchievableNumber.java) | |
841
841
| 2778 | [Sum of Squares of Special Elements](https://leetcode.com/problems/sum-of-squares-of-special-elements) | | |
842
842
| 2784 | [Check if Array is Good](https://leetcode.com/problems/check-if-array-is-good) | | |
843
843
| 2788 | [Split Strings by Separator](https://leetcode.com/problems/split-strings-by-separator) | | |
Original file line number Diff line number Diff line change
1
+ // https://leetcode.com/problems/find-the-maximum-achievable-number
2
+ // T: O(1)
3
+ // S: O(1)
4
+
5
+ public class FindTheMaximumAchievableNumber {
6
+ public int theMaximumAchievableX (int num , int t ) {
7
+ return num + 2 * t ;
8
+ }
9
+ }
You can’t perform that action at this time.
0 commit comments