Here are a set of Colab notebooks, one for each of the coding challenges in the Khan Academy algorithms course. They are coded in Python (as are all Colab notebooks), but the Javascript required for the Khan Academy challenges is listed at the end of each notebook. It's interesting to compare the two languages. In some cases there are very few differences, and in others quite a bit.