-
Notifications
You must be signed in to change notification settings - Fork 0
Given an array of strings, find if the given strings can be chained to form a circle. A string X can be put before another string Y in circle if the last character of X is same as first character of Y. Examples: Input: arr[] = {"geek", "king"} Output: Yes, the given strings can be chained. Note that the last character of first string is same as …
vkhub1908/Find-if-an-array-of-strings-can-be-chained-to-form-a-circle
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
About
Given an array of strings, find if the given strings can be chained to form a circle. A string X can be put before another string Y in circle if the last character of X is same as first character of Y. Examples: Input: arr[] = {"geek", "king"} Output: Yes, the given strings can be chained. Note that the last character of first string is same as …
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published