3658. GCD of Odd and Even Sums
/**
* Problem: LeetCode 3658 - GCD of Odd and Even Sums
* Difficulty: Easy
* Language: Java
* Author: CodeByTushu
*/
class Solution {
public int gcdOfOddEvenSums(int n) {
return n;
}
}
"""
Problem: LeetCode 3658 - GCD of Odd and Even Sums
Difficulty: Easy
Language: Python
Author: CodeByTushu
"""
class Solution:
def gcdOfOddEvenSums(self, n: int) -> int:
return n
/**
* Problem: LeetCode 3658 - GCD of Odd and Even Sums
* Difficulty: Easy
* Language: C++
* Author: CodeByTushu
*/
class Solution {
public:
int gcdOfOddEvenSums(int n) {
return n;
}
};
/**
* Problem: LeetCode 3658 - GCD of Odd and Even Sums
* Difficulty: Easy
* Language: JavaScript
* Author: CodeByTushu
*/
var gcdOfOddEvenSums = function(n) {
return n;
};