code: public static boolean versionSatisfiesMinimum(int[] minimumVersion, int[] queryVersion) {
          if (minimumVersion.length == queryVersion.length) {
              for (int i = 0; i < minimumVersion.length; i++) {
                  //Start at most significant digit
                  if (queryVersion[i] < minimumVersion[i]) {
                      //This is too small, so fail. We're moving in from the most significant end, so no point in continuing
                      return false;
                  } else if (queryVersion[i] == minimumVersion[i]) {
                      //This one is the same, so we must continue and check the other digits.
                      continue;
                  } else if (queryVersion[i] > minimumVersion[i]) {
                      //This one is bigger. We're moving in from the most significant end, so the other bits don't matter now.
                      return true;
                  }
              }
              //We got to the end without breaking any rules, so it is valid.
              return true;
          }
          return false;
      }
docs: Evaluate whether queryVersion is considered to be greater or equal than minimumVersion.
  
  Expects version numbers in array form, where the elements of the array are the digits of the version
  number, in order.
  
  Returns true if the version represented by queryVersion is greater than or equal to the
  version represented by minimumVersion.
  
  Returns false if the version numbers are not of the same length, or the minimum version is not satisfied.
  
  @param minimumVersion
  @param queryVersion
  @return