2769. Find the Maximum Achievable Number ¶ Time: $O(1)$ Space: $O(1)$ C++JavaPython 1 2 3 4 5 6class Solution { public: int theMaximumAchievableX(int num, int t) { return num + 2 * t; } }; 1 2 3 4 5class Solution { public int theMaximumAchievableX(int num, int t) { return num + 2 * t; } } 1 2 3class Solution: def theMaximumAchievableX(self, num: int, t: int) -> int: return num + 2 * t