Concept:
Compressive strength of a rock depends on its mineral composition, texture, density and degree of interlocking of grains. Dense, fine-grained igneous rocks generally resist compression best.
Step 1:
Limestone and sandstone are sedimentary rocks with comparatively lower strength. Granite is a strong coarse-grained igneous rock.
Step 2:
Basalt is a dense, fine-grained volcanic rock with tightly interlocked crystals, giving it a very high compressive strength, generally higher than granite, limestone and sandstone.
Answer: Option (2) — Basalt.