The first LED points forwards and the second diode is reversed. Easy enough. For the third LED, [Alan] used high frequency AC with an inductor wired in parallel with the LED and the third switch.
Most modern electronic devices consist of several key components: transistors, capacitors, resistors, inductors and diodes. Often, they are supplemented by additional components like crystals and ...