The Short Version
Available criticism and plot analysis support the comparison. The novel’s high-school ending is generally described as a brief, enclosed, explicit climax, while the film extends that material into a longer, more surreal and indirect finale with added stylized sequences. The remaining caveat is that terms like “claustrophobic” are interpretive, not strictly measurable.