Giant Ape
The primary limitation of polymorph is that you can only take beast shapes. With that said, in this range there are two shapes that have similar AC and hit point totals, with the variation being mostly tactical in nature- but that's not something you should overlook.
The T-Rex has 21 less HP than the giant ape, but moves 10 feet faster on the ground -> It has no climb speed, however, and it can't focus its multi-attack on a single target.
The giant ape has 1 lower AC (12), but it's also a biped and you could hypothetically look for a way to get larger armor to wear on the form, including paying for what would normally count as "barding." This means your giant ape with two swings of +9 can focus 40+ damage on a single target with 18 AC if you're willing to drop a chunk of gold or a valuable item for it- and it also has a +9 to athletics for actual grapple lockdowns (athletics vs. athletics/acrobatics as opposed to having to hit AC that might conceivably reach 25+) with a 10 foot reach - one that is as hard or harder to escape than the T-rex's 60% of the time. As the final cherry on top, the giant ape can actually competently grapple creatures above medium size, all the way up to gargantuan, so an enlarge spell on the BBEG won't nullify half of your main attack.
It's also got a climb speed and a ranged attack worth 30 average damage. In most situations where I'd consider a T-Rex, I'd consider the giant ape superior.
Edit: In fairness, you could pull the barding trick with the T-Rex, but the giant ape can also hold a shield...
But I do agree with Groody. The real problem here seems to be an atmosphere of condescension from DM to Party, and that sounds like dissonance between game expectations. A conversation might fix this, or your group might be better off looking for a different DM that accounts for the dynamic of different player skill level within their game rather than mocking them for a lack that can be learned.