This phrase doesn't involve literal cleaning, but rather beating someone in competition. During the chess tournament, Maya just wiped the floor with every challenger.
Pro Tip 2/3
Informal Usage
It's a casual expression, not suitable for formal or serious contexts. At the office party's trivia game, our manager mopped the floor with us!
Pro Tip 3/3
Humorous Tone
Often used jokingly to describe an effortless victory or to tease friends. You think you can beat me at ping-pong? I'll mop the floor with you!