Recursion Lesson 2 - Multiply implementation

Опубликовано: 05 Июль 2026
на канале: JSsifu
26
6

Recursion lesson 2 - Implementing multiplication with recursion.
This came up in one of my phone interviews. They wanted me to implement a multiplication function without using the built in * operation in Javascript. In this video, I will show you how to do it with recursion. We will make a base case, recursive case and handle edge cases with negative numbers as inputs.

In case you missed it, you should checkout my first intro to recursion:    • Intro to Recursion with Javascript - Facto...