The Challenge:
Two words can be 'chained' if the last character of the first word is the same as the first character of the second word.
Given a list of words, determine if there is a way to 'chain' all the words in a circle.
Example:
Input: {"eggs", "karat", "apple", "snack", "tuna"}
Output: True
Print statements are not part of your character count. Your code should explicitly state if the array of words are chained or not.
Shortest and most valid answer within a week gets the solution.
If you ask in Discord or on the Website for a solution you are disqualified
I'll update the question with my implementation within due time.
Inspired by this post
Please do not moderate this Question as it doesn't break any rules

3 comments
Note to self :3 People that have submitted solutions: Abandion, iAmMew24, ioannovna
This challenge is kinda vague, what if there's two words that start with the same letter?
nor whether two chain circles that appear but cant not merge with the other