@Test public void shouldReturnZeroIfThereIsNoAnyConsecutiveSequenceRecursive() { int[] array = { 6, 5, 4, 3, 2, 1 }; int sequenceLength = lcs.findRecursive(array); assertEquals(0, 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);  }