Strange was able to defeat Dormammu in the comic by manipulating time with the Time Stone. He made it so that the same events kept repeating, which eventually wore down Dormammu's patience and forced him to back off. Strange's knowledge of magic and his willingness to take bold risks were key factors in this win.
Well, Doctor Strange outsmarts Dormammu in the comic. He uses his knowledge of the multiverse and time manipulation to create an endless cycle that Dormammu can't escape from. Eventually, Dormammu gets so frustrated that he agrees to Doctor Strange's terms and backs off.
There is no evidence that Dormammu is based on a true story. Dormammu is a fictional supervillain in the Marvel Comics universe, often associated with Doctor Strange. He is a powerful, other - dimensional being created for the purposes of the comic book and subsequent movie adaptations.
Since Dormammu is a fictional character from the Marvel Comics and movies, there really aren't any real - life elements that could be misconstrued as his basis. His nature as a being from the Dark Dimension, his extreme power, and his motives are all part of a fictional narrative. There's no real - world equivalent to a being that exists in a different dimension and wields such otherworldly magic. It's all pure imagination within the context of the superhero genre.
The Avengers originated in Marvel Comics. Marvel has developed a vast universe of characters and storylines, and the Avengers are a key part of it. Their adventures have been adapted into various forms of media, including movies and TV shows.
Captain Marvel is Carol Danvers. She gained her powers through an interaction with alien technology and has become a powerful hero in the Marvel universe.