Hello, I came across an interesting problem of finding the shortest chain of steps required to transform a string into a different target string of the same length.
Each "step" would be changing one letter within the string.
My logic was to start at the given word and check its adjacent words (differing by one letter in the dictionary), and keep doing so until we reached the target word. I was originally thinking of BFS, but that was assuming a word would not have many valid adjacent words (not very wide, so memory won't be an issue).