Question: when did walt whitman wrote o captain my captain
Answer: 1865