It's like you are asking whether the teacher intelligent or student is intelligent. But even though I am devotee of Lord Vishnu,i.e Rama, I would say Hanuman had more intelligence than him. He was the hero of entire Ramayana after Lord Rama. read more
Shriram was avatara of bhagvan vishnu , so undoubtedly Shriram was great , but Lord Hanuman was his bhakta. And in this age we need to learn the Nishkam bhakti like Lord Hanuman that no one does on Supreme god. So Lord Hanuman was also great. Summary : - You can not compare the greatness of one god with other. God is one as told in Gita. read more