Both dramas take place at a school. Both dramas have a cool main character and both dramas focus more on real life social problems of school than romance.
I would say GTO is much better quality. You can watch any GTO anime or series. Both are about right and wrong.. and daily life situations. even though settings and plot is different, main ides stay kind of the same in both dramas.