Question: what is the difference between melodic and harmonic scale?
Answer: When a minor melody is upward-bound, the 7th degree is often raised a half step so that it will make a "leading tone" to the tonic. So in the scale on A that would be G# instead of G. That's "harmonic minor," because this change to G was made for harmonic purposes.