1 (quedar, restar) sobró mucha comida = there was a lot of food left over¿te ha sobrado dinero? = do you have any money left?
2 (estar de más) ya veo que sobro aquí = I can see I'm not wanted/needed herea mí no me sobra el dinero = I don't have money to throw around (colloq)sobra un cubierto = there's an extra place