I have got 2 method:
1st - Returns Set <Integer> which contains an array
2nd - Takes returned value from 1st method as HashSet argument.
Then I need to find consecutive numbers like 1,2 in order to find the numbers I need to first loop through the HashSet, but there is no length, so how do I do it ??
Cheers in advance for all your support