When the particles in a medium vibrate perpendicular to the direction the wave is traveling, this type of waves is called a:

ATransverse wave

BLongitudinal wave

CSurface wave

DTidal wave