Ad
Code
Diff
  • interface HighLow {
        static int[] findLargestAndSmallest(int[] nums) {
            // Change min and max below to be the highest and lowest values
            // in the nums array provided to the function
            int min = -9;  
            int max = 9;
            return new int[]{min, max};
          }
            
        }
      
    
    }
    
    • interface HighLow {
    • static int[] findLargestAndSmallest(int[] nums) {
    • // Change min and max below to be the highest and lowest values
    • // in the nums array provided to the function
    • int min = 0;
    • int max = 100;
    • int min = -9;
    • int max = 9;
    • return new int[]{min, max};
    • }
    • }
    • }