Skip to content
Snippets Groups Projects
Select Git revision
  • 0bc4854fe4f05fb9e573c0878ec6093c4613d93e
  • master default protected
2 results

SequenceRange.java

Blame
  • Forked from cse332-23sp / ex12-15-para-public
    Up to date with the upstream repository.
    SequenceRange.java 515 B
    package getLongestSequence;
    
    /**
     * A major part of the challenge here is to figure out what to do with this class.
     * We heavily recommended not to edit this (but you can).
     */
    public class SequenceRange {
        public int matchingOnLeft, matchingOnRight;
        public int longestRange;
    
        public SequenceRange(int matchingOnLeft, int matchingOnRight, int longestRange) {
            this.matchingOnLeft = matchingOnLeft;
            this.matchingOnRight = matchingOnRight;
            this.longestRange = longestRange;
        }
    }