O. Henry was famous for writing short stories in the genre of realism with a strong emphasis on irony and surprise endings.
While some of his stories can be categorized as romanticism or regionalism, he's primarily known for his witty, often humorous tales with unexpected twists.