A happy string is defined as a string that:
Consists only of characters from the set ['a', 'b', 'c'].
Does not contain any two adjacent characters that are equal (that is, s[i] != s[i + 1] for all valid indices i).
Given two integers n and k, consider all happy strings of length n sorted in lexicographical order.
Return the n from this sorted list. If there are fewer than k happy strings of length n, return an empty string "".
Constraints:
n
k
A happy string is defined as a string that:
Consists only of characters from the set ['a', 'b', 'c'].
Does not contain any two adjacent characters that are equal (that is, s[i] != s[i + 1] for all valid indices i).
Given two integers n and k, consider all happy strings of length n sorted in lexicographical order.
Return the n from this sorted list. If there are fewer than k happy strings of length n, return an empty string "".
Constraints:
n
k