Tree: Depth-First Search - Flatten Binary Tree to Linked List
The following code attempts to flatten a binary tree to a linked list in-place. Identify the bug that causes the flattened list to still have left child pointers, violating the problem requirements.
