We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Tutorials
- 30 Days of Code
- Day 14: Scope
- Discussions
Day 14: Scope
Day 14: Scope
Sort by
recency
|
1106 Discussions
|
Please Login in order to post a comment
python solution:
class Difference { private int[] elements; public int maximumDifference;
} return maximumDifference; }
self.maximumDifference = self.computeDifference()
Java: import java.io.; import java.util.; import java.text.; import java.math.; import java.util.regex.*;
class Difference { private int[] elements; public int maximumDifference; public Difference(int [] b){ this.elements=b; }
} // End of Difference class
public class Solution {
}
for JS