Latin for “god from the machine,” the deus ex machina is a literary device in which an unexpected character or element intervenes to solve a seemingly intractable problem. Typically, the device is ...