Given two integers a and b, return any valid string s such that:
s contains exactly a occurrences of the letter 'a' and b occurrences of the letter 'b'.
The substring 'aaa' does not appear in s.
The substring 'bbb' does not appear in s.
Constraints:
It is guaranteed that such a string s exists for the given a and b.
Given two integers a and b, return any valid string s such that:
s contains exactly a occurrences of the letter 'a' and b occurrences of the letter 'b'.
The substring 'aaa' does not appear in s.
The substring 'bbb' does not appear in s.
Constraints:
It is guaranteed that such a string s exists for the given a and b.