To create tension up until the very end of the story, the best way to structure the ending would be:
by writing a tragic ending in which one character discovers a horrible truth.
This option maintains the tension and leaves the reader with an emotional impact, as the revelation of a horrible truth can create a sense of dread and leave unresolved issues, enhancing the story's tension throughout.