Both games are great, but Majora's Mask was lacking dungeon's and had a lot more sidequest's that had nothing to do with the story, (well most if them).
Ocarina of Time had a perfect share of dungeon's and sidequest's. Other than Navi being a tutorial helper, it is a great game.