Though I could not replicate it precisely due to the scale, I made the American flag on the foremast of the ship. The 46-star flag served from July 4, 1908 to July 4, 1912.
The flag on the mainmast (rear mast) is the White Star Line flag, which should be iconic enough for people to know of it. I had to use a print asterisk for the star, but it works!
The flag at the stern is known as the "blue ensign," or, informally, the "blue duster." It denotes that the captain of the ship has achieved at least a certain rank within Britain's royal Navy, which indeed Captain Edward John Smith R.D. R.N.R. had. If the captain were a civilian, the flag would have a red field instead of a blue one, in a design known as the "red ensign" or "red duster."
Just as a side note, "Titanic" and "Liverpool" are much more easily read if you look upward at a 45 degree angle from directly behind it. Titanic has never been to Liverpool, but that's where the paperwork registering the vessel was filled out, so that's why the name of the place name appears on her stern.