I was thinking of replacing the tile and carpet in my RV. When I looked at how they were installed, it appears that all the flooring was installed prior to placing the cabinets and slides. So ta...
I cut out the carpet in mine - it can be cut very close to the cabinet edges with the right cutting tool. If you're going for a floating floor, like a laminate, you need to leave a gap on the edges anyway.
Tile is another matter - I suspect you're going to have to put the new floor over top of it.