You have 7 cards you need to determine if there is a 5 card straight there, that is 5 cards
in a sequence eg 45678, of any suit. You cannot have QKA12 for example as the ace can
only be at start or the end.

What is the quickest way to do it?

You can assume the cards are in an array cards[7] where 2
1=Ace
2=2
3=3
...
10=10
11=Jack
12=Queen
13=King

So you have

int c[7]; // array of unsorted cards.


How would you do it?