Find the next number in the series: 123, 234, 345, 456, ?
Answers
Answered by
6
567,678,789,890
hope it helps
hope it helps
anushka4833:
i am following
Answered by
11
Only the alternation is needed, no need for the capture private static final Pattern PATTERN = Pattern.compile("012|123|234|345|456|567|678|789|890"); // ...
Similar questions