Residential buildings tend to be a donut hole shape or an H to keep distances to windows about 20m. Office buildings are usually big, deep squares or rectangles.
yep, plus many countries regulate what can be called a "room", and most "rooms" need to have a window, so this means either huge rooms (so they can have windows and go deep inside the building to use the space), or the rooms in the central part of the buildings used for non-livin rooms (eg, storage).
It surely depends on the country, but it is not like "a window" is enough, usually construction codes ask for "windowed surface" being not less than 1/8 or 1/12 of the area of the room (so you cannot make bigger than this limit), in order to classify the room as "suitable to permanent stay of people", in practice - as you say - all the rest becomes "non-living", storage, or window-sless (mechanically ventilated) bathrooms.
Residential buildings tend to be a donut hole shape or an H to keep distances to windows about 20m. Office buildings are usually big, deep squares or rectangles.