Like 23 43 45 46 58 29 30 31 15 17
in this series there are 3 increasing series which
23 43 45 46 58
29 30 31
15 17
longest inc. series is 23 43 45 46 58 . Which 5 consequently no. in increasing order .
in this series there are 3 increasing series which
23 43 45 46 58
29 30 31
15 17
longest inc. series is 23 43 45 46 58 . Which 5 consequently no. in increasing order .
Generate 10 random no. and find longest length of increasing order without using arra