Amazon Online Assessment (OA) - Longest String Without 3 Consecutive Characters
Given A, B, C, find any string of maximum length that can be created such that no 3 consecutive characters are the same. There can be at max A 'a', B 'b', and C 'c'.