I am trying to learn the LZW compression algorithm, and ChatGPT has a semantic error in explaining it. It is better not to use chatGPT at its current version to learn algorithms. I had the same issue while learning RL Dreamer algorithms as well.