@Test public void shouldReturnLengthArrayIfTheArrayIsOneConsecutiveSequenceRecursive() { int[] array = { 1, 2, 3, 4, 5, 6 }; int sequenceLength = lcs.findRecursive(array); assertEquals(6, sequenceLength); }
public int findRecursive(int[] array) { validateInput(array); return findRecursiveInner(array, 1, 0, 0); }
FindLongestConsecutiveSequence { public int findRecursive(int[] array) { validateInput(array); return findRecursiveInner(array, 1, 0, 0); } }
FindLongestConsecutiveSequence { public int findRecursive(int[] array) { validateInput(array); return findRecursiveInner(array, 1, 0, 0); }  }
FindLongestConsecutiveSequence { public int findRecursive(int[] array) { validateInput(array); return findRecursiveInner(array, 1, 0, 0); }  int findIterative(int[] numbers); int findRecursive(int[] array); }
FindLongestConsecutiveSequence { public int findRecursive(int[] array) { validateInput(array); return findRecursiveInner(array, 1, 0, 0); }  int findIterative(int[] numbers); int findRecursive(int[] array);  }