Major:
whole - whole - half - whole - whole - whole - half
whole - whole - half - whole - whole - whole - half
In major scales, half steps appear after the 3rd and 7th notes.
Minor scales with flats and sharps
Minor:
whole - half - whole - whole - half - whole - whole
In minor scales, half steps follow the 2nd and 5th notes.