Given the root of a binary tree, return the **inorder**, **preorder**, and **postorder** traversals as three separate arrays.
- **Preorder**: Root → Left → Right
- **Inorder**: Left → Root → Right
- **Postorder**: Left → Right → Root