Does a rollercoaster have its greatest GPE at the top of the tallest hill or the bottom of the lowest dip?

at the top. GPE=mgh, h is maximum at the top.