In my country the simple and cheap four-story walk-up condo building (with a single stair and no elevator) is the bread and butter medium density housing for the working class. You either have two or four units per floor, all opening to the stairwell with almost no space lost in corridors, it is simple and efficient. Alternatively for higher density there are higher versions with typically up to 12 floors with one or two elevators but still only one stairwell, so keeping the same efficiency.