Kind of in a hurry, so only a quick answer:
That was longwave (LW) radio (150 kHz to ca 380 kHz), or medium wave (MW) (530 kHz to 1600 kHz).
Wavelength $\lambda$ is related to frequency as $\lambda = \frac{c_0}{f}$, with $c_0=3\cdot10^8\,\frac{\text m}{\text s}$ the speed of light, and $f$ the frequency.
LW still exists, not very popular for broadcast these days since higher frequency installations are practically full-coverage, unless you're at sea. In most of central Europe, MW has been shut off, because there was no sweet spot between LW and the VHF bands (30 to 300 MHz, which includes the "usual" 88 to 108 MHz FM broadcasting band with music and news stations).
Newer longwave installations don't use the (noise-sensitive) AM (amplitude modulation) use DRM (Digital Radio Mondiale).
Existing longwave transmitters use lots of power. Typical MW AM stations have 50 kW to 2 MW (!) in power.
India has relatively recently build a transmission system for DRM, to cover most of the subcontinent, and it uses about 1 MW – much less than a AM system achieving the same would have to use.
you just need very tall antenna
The antenna needs to be typically a quarter wavelength in size (roughly), so often complex arrays of tall antennas are necessary to achieve that. They extend, usually, down to the ground, so they are not "Mounted at height", they are simply "high".
what kind of wavelength can travel that far
Generally, in free space, all wavelengths travel infinitely far, but you're right, only certain ones fall in a region where you can exploit the bending properties of the ionosphere, for example.
Also, the power density per area (i.e. how much RF power hits 1 m²) goes down with the square of the distance and with the square of the wavelength. (however, that is at least partially compensated by the fact that an antenna of a given size can be made to have a higher effective area for a higher frequency. The increase in "picking up power" area is also square with the inverse of wavelength).
So, the fact that LW reached and reaches so far is:
- atmospheric and ground-conducted wave phenomena, as you've mentioned
- the relative ease at which a highest-power amplifier for these frequencies can be built (1940's engineers simply couldn't build a 100 MHz amplifier that does 500 kW of output power; the technology didn't exist.)
- The low expectations for transmission quality on the existing bands.
So, it's a mixture of physical, technical and historical reasons.
how do you estimate actual path length then ?
Using a propagation model. There's quite a few of these, some are very complex and include sun activity, weather and angles of antennas, others are more rules of thumbs.
Also, notice that there's not necessarily a single path. In fact, that's usually not the case, or only the case if you restrict yourself to a very narrow bandwidth. As an example:
The aforementioned DRM system (deployed with the intent of reaching > 1 billion people!) is designed with a mode that can tolerate 7.5 ms of delay spread, i.e. a signal travelling the longest path reaches the receiver 7.5 ms after it already reached it via the shortest path. The tolerable path length difference, thus, has to be up to $7.5 \cdot10^{-3}\,\text{s}\,\cdot\,c_0 =2.25\cdot10^6\text{m}=2250\,\text{km}$. So, it's really impossible to talk about "path length", you need to account for the multiple different paths.
The DRM receiver actually calculates the way the multipath environment looks like – and compensates the effect of that;
which is the main reason why DRM works better at the same power:
Imagine you listen to someone talking. However, that's overlaid with an echo coming in 7.5 ms later; that simply means that when his voice hits 266.67 Hz – that's a middle C in musical notation – the echo happens to be the same tone, but half a tone period later, so that it cancels out!
We call that frequency-selectivity of the multipath channel.
So, DRM has built-in RF "echo cancellation", and hence works better, and you thus can get better audio (remember Longwave broadcast, that was always very narrowband, and sounded muffled, and there was no chance to get music). Or, you can use the same advantage to get the same audio quality, but with less power; or with the same power, but further away.
I saw movies where radio enthusiasts could talk all over the world.
Right place to mention this – radio amateurs tend to do such things (and others).
Now, when you want to do this, you don't need a 1 MW amateur band AM transmitter. You can actually "work the world" with far less power, assuming you don't try to get something as "bandwidth-hungry" as music across. In fact, with maybe 0.1 W, you can get very far on a continent, if you use a very robust transmission scheme, a "mode":
Just as AM and DRM are two methods of transporting broadcast audio, there's methods for just transporting textual methods that need far less power at the receiver, and hence far less power at the transmitter. "WSPR" and "FT-8" are such modes.
For example, to transmit WSPR, you technically need nothing but something that can switch a voltage on and off at the desired rate; and people built such things and made talks about such things, using nothing but a raspberry Pi (a 35€ computer).