iPhone XS Max vs. Note 9: Which phone has the best camera
https://www.cnet.com/news/iphone-xs-max-vs-galaxy-note-9-which-camera-is-best-comparison/
For more of the differences between iPhone cameras, check out CNET's photo and video comparison between the iPhone XS and X.
The biggest addition to the iPhone XS Max is Smart HDR which takes a quick burst of multiple photos at different exposures and combines them to produce an image that retains more details in both the brightest and darkest parts of the picture. It's more advanced than previous iPhones, but other phones like the Google Pixel 2 have used similar blended HDR/computational techniques. The newly announced Pixel 3 has even more software camera features. (Take a quick look at the Pixel 3 camera photos if you're interested).