You are viewing a single comment's thread. Return to all comments →
Just consider 'Singleton' as a group with only 1 member. So above input has 3 groups actually - {0 1 2 4 6 8 9}, {7}, {3 5}.
Journey to the Moon
You are viewing a single comment's thread. Return to all comments →
Just consider 'Singleton' as a group with only 1 member. So above input has 3 groups actually - {0 1 2 4 6 8 9}, {7}, {3 5}.