Watch tutorials and explanations by expert teachers that walk through solving this problem.
Programmer Mitch
Cracking FAANG
Amell Peralta
if else statement
Happy Coding
LC Bear
Programming Live with Larry
AlgoJS
Solve more problems to master this pattern