Thousands of families were left homeless after floods that followed a prolonged drought and water rationing in Algiers since mid-October.