Taking a programming test and didn’t get the pattern algorithmic

The question is there is a plane with seat A-K excluding row I. The method gives you the seats that are taken in a String “1C 2B 1J” as an ex. Find how many families of 4 if they are grouped together or split evenly over an aisle. So in the A B C D […]