Norway's rental market is nothing like Sweden's. In Norway rents may be higher but it's trivial to get a nice apartment in the center of town basically immediately.
That's reassuring. If I had to pick between the two (assuming I had a choice), I would pick Norway. How's the job market for developers?
Honestly I haven't checked for a few years (currently living in Sweden), but last time I checked most programming jobs where working for engineering (mainly connected to the oil industry) or finance companies as opposed to more pure software companies. Not that this has to be a bad thing in any way. That being said I gather from friends in Norway that the startup scene is slowly growing even there and there are more and more small software companies looking to hire.