The k-th Lexicographical String of All Happy Strings of Length n
A happy string is a string that:
Consists only of letters of the set ['a', 'b', 'c']. There are no two identical adjacent characters. Given two integers n and k, return the k-th lexicographically happy string of length n.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)