Rank their solubilities from lowest to highest: Hydrocarbons, aldehydes, alcohols, carboxylic acids
I know that hydrocarbons is the lowest - it cannot form H bonds with itself nor can it form H bonds with water.
For the other 3, though, I'm not sure which one has a stronger solubility over the other two.
They are all soluble because they can form H-bonds with water even though they might not be able to form H bonds with itself (aldehydes).
All their solubilities fall as the length of their hydrocarbon chains increase, so I'm not sure how to rank the last 3.