Code is OK, I works! It is not correct!?
I know that code is not perfect but it works. I try it so meny times and allways all was ok. Who know why it is not correct for codegym validator?
1. Create table 
2. Add 10 number for table 
3. Sort table 1,2,2,.....4,4,4,7,7,..
4. Find longest sequence
5. Create ArrayList (we m