0

The method name is:
public static int longestSequence(int[] T) { ... }
For example:
We define a table, int[] T = {1,2,5,1,7,8,9,10,1,5,6,9,12,23,28};
The longest sequence of numbers increasing would be 1,5,6,9,12,23,28 => so the method would return 7, which is the length of this sequence.
I...