There is no experience gaining in the traditional RPG sense, just improving skills. So basically, the more strikes you make with a sword, the more arrows you shoot at an enemy, the more you blast them with destruction spells, etc. Delivering the final blow is just another blow. Nothing special in terms of improving your skills. So no, it doesn't really matter if you did the majority of the fighting and somebody came and finished it off.