The question is simple, but there's more to it than meets the eye! There are a lot of tools today that can help children understand the intricacies of coding and the algorithms that go with it. One of those tools would be Scratch, a language specifically designed for ease of use of children.
The language provides an interface the child will be able to use in order to learn how the algorithms work. Of course, the language alone isn't enough to teach them everything. This is where a seasoned online teacher can provide additional guidance and training in a one-to-one session.