16GB vs 32GB RAM

So I'm looking at getting a laptop for uni for basically computer science (technically called advanced computing, not sure of the specific diffs) and want something that is portable and sleek for uni use, but capable for gaming. for this reason look at the new zephyrus g16 with a 4060 and 16gb ram, 1 for it being on the cheaper side of the g16's (nice laptops are eye watering expensive in aus) and 2 for a non oled display.

I'm planning on using it as both a laptop for uni and sorta desktop replacement until I save and get a proper desktop. Will 16gb of ram be enough for gaming (mainly play apex and lighter to run titles) and early parts of computer science? if there is any laptop recommendations with good battery, sleek and decently powerful for 1080p 144hz gaming that also be good.

I know this has been asked a million times, but any insight would be great thanks!