"Legendary" is not a type. It's a kind of Pokemon; specifically, the rare, one of a kind Pokemon such as Articuno, Moltres, and Zapdos that you encounter in a specific place and have a low catch rate.
Ghost and Dark attacks are super effective against Ghost type pokemon.
Ghost and Dark-type Pokemon are super effective against Ghost types.
flying type and ghost type Pokemon
Ground and psychic type attacks are both super-effective against a poison type pokemon.
Any kind of Grass and Electric pokemon.
ground type Pokemon are super effective against poison type Pokemon.
Ghost and Dark attacks are super effective against Ghost type pokemon.
Are you asking what type of pokemon is super effective to bug type? The correct answer: Fire type
Rock, electric and ice are super effective against flying type pokemon.
Psychic Pokemon are Super effective by Bug type, Dark type and Ghost types
normal type Pokemon are not super effective against any type.
Steel is super effective against rock type pokemon.
Rock, electric and ice type moves are super-effective against flying type pokemon.
Super effective on Electric---Ground Super effective on Flying---Ice, Rock, Electric If you mean super effective on an electric/flying type: rock and ice.
Rock type moves are super-effective against fire, bug, flying and ice type pokemon.
Ghost and Dark-type Pokemon are super effective against Ghost types.
Both Fighting types and Bug types are super effective against Dark types.